Re: COPY FROM STDIN behaviour on end-of-file

From: Vaishnavi Prabakaran <vaishnaviprabakaran(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COPY FROM STDIN behaviour on end-of-file
Date: 2017-05-16 06:29:40
Message-ID: CAOoUkxTaxiZ5Ab2T08UOBorQMt2oxXSiiTJ+Zb2K7ZvbPhDDrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 16, 2017 at 8:40 AM, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com
> wrote:

>
> I you hit ^d while COPY FROM STDIN is reading then subsequent COPY
> FROM STDIN commands return immediately.

Hi, I could not reproduce this issue. Even after Ctrl+d , subsequent COPY
from commands reads the input properly. Is there any specific step you
followed or can you share the sample testcase?

Thanks & Regards,
Vaishnavi
Fujitsu Australia.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2017-05-16 07:19:30 Re: [POC] hash partitioning
Previous Message Michael Paquier 2017-05-16 06:17:12 Re: [PATCH v2] Progress command to monitor progression of long running SQL queries