A question about the psql \copy command

Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>

From: "Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>
To: "'pgsql-hackers'" <pgsql-hackers@postgresql.org>
Date: 2013-02-07T12:45:17Z
Lists: pgsql-hackers

Attachments

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.

Thanks,

Best regards,
Etsuro Fujita

[1]
http://www.postgresql.org/message-id/002e01cdff64$a53663b0$efa32b10$@kapila@huaw
ei.com