pgsql-server/src/bin/psql copy.c

Started by Tom Laneover 22 years ago3 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 04/01/28 18:14:04

Modified files:
src/bin/psql : copy.c

Log message:
Make USING and WITH optional to bring the syntax of \copy into exact
agreement with what the backend grammar actually accepts (which is a
bit looser than what its documentation claims). Per report from Bill
Moran, though I did not use his patch since it removed all the
undocumented flexibility that the code historically had and the backend
still has.

#2Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#1)
Re: pgsql-server/src/bin/psql copy.c

tgl@svr1.postgresql.org (Tom Lane) writes:

Make USING and WITH optional to bring the syntax of \copy into exact
agreement with what the backend grammar actually accepts

Documentation updates?

-Neil

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#2)
Re: pgsql-server/src/bin/psql copy.c

Neil Conway <neilc@samurai.com> writes:

tgl@svr1.postgresql.org (Tom Lane) writes:

Make USING and WITH optional to bring the syntax of \copy into exact
agreement with what the backend grammar actually accepts

Documentation updates?

The documentation already says those are optional. See my reply to
Bill Moran.

regards, tom lane