Re: A question about the psql \copy command - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: A question about the psql \copy command
Date
Msg-id 008901ce0b48$2e742ec0$8b5c8c40$@kapila@huawei.com
Whole thread Raw
In response to A question about the psql \copy command  ("Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>)
List pgsql-hackers
On Thursday, February 07, 2013 6:15 PM Etsuro Fujita wrote:
> Through the work on the patch [1], I had a question about the psql
> \copy command.  We are permitted 1) but not permitted 2):
> 1) \copy foo from stdin ;
> 2) \copy foo from stdin;
> Is this intentional?  I think it would be better to allow for 2).
> Attached is a patch.

Verified that attached patch resolves the problem mentioned by you.
Ran the regression to ensure that it should not break any existing syntax.

Although this is minor bug, but IMO it will improve consistency among \
commands, because other works fine with ";"  

With Regards,
Amit Kapila.





pgsql-hackers by date:

Previous
From: Pavan Deolasee
Date:
Subject: Re: I think we need PRE_COMMIT events for (Sub)XactCallbacks
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Identity projection