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

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

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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.


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

From
Neil Conway
Date:
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


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

From
Tom Lane
Date:
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