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

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Rajeev rastogi <rajeev(dot)rastogi(at)huawei(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-21 15:18:07
Message-ID: CA+Tgmoa08rC79tBQ0cEm7UMK_q9oujToRQY6RkSx_vfr3gfxeg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.
>
>
>
> Thanks and Regards,
>
> Kumar Rajeev Rastogi

Please add your patch to the currently-open CommitFest so that it does
not get forgotten:

https://commitfest.postgresql.org/action/commitfest_view/open

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-10-21 15:20:26 Re: logical changeset generation v6.4
Previous Message Robert Haas 2013-10-21 15:14:37 Re: logical changeset generation v6.4