Re: COPY table FROM STDIN doesn't show count tag

From: Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY table FROM STDIN doesn't show count tag
Date: 2013-10-22 06:26:34
Message-ID: BF2827DCCE55594C8D7A8F7FFD3AB7713DD7ED35@SZXEML508-MBX.china.huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 October 2013 20:48, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>On Fri, Oct 18, 2013 at 7:37 AM, Rajeev rastogi <rajeev(dot)rastogi(at)huawei(dot)com> wrote:
>> From the following mail, copy behaviour between stdin and normal file
>> having some inconsistency.
>>
>>
>> http://www.postgresql.org/message-id/CE85A517.4878E%tim.kane@gmail.com
>>
>>
>>
>> The issue was that if copy execute "from stdin", then it goes to the
>> server to execute the command and then server request for the input,
>> it sends back the control to client to enter the data. So once client
>> sends the input to server, server execute the copy command and sends
>> back the result to client but client does not print the result instead it just clear it out.
>>
>> Changes are made to ensure the final result from server get printed
>> before clearing the result.
>>
>>
>>
>> Please find the patch for the same and let me know your suggestions.
>>
>>
>
>Please add your patch to the currently-open CommitFest so that it does not get forgotten:
>
>https://commitfest.postgresql.org/action/commitfest_view/open

Added to the currently-open CommitFest.

Thanks and Regards,
Kumar Rajeev Rastogi

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-10-22 07:10:22 Re: Compression of full-page-writes
Previous Message Pavel Stehule 2013-10-22 05:51:28 Re: proposal: lob conversion functionality