Re: Underscorces in copy-documentation (9.0 and higher) - Mailing list pgsql-docs

From Tom Lane
Subject Re: Underscorces in copy-documentation (9.0 and higher)
Date
Msg-id 2772.1363791190@sss.pgh.pa.us
Whole thread Raw
In response to Underscorces in copy-documentation (9.0 and higher)  (Mario Duhanic <duhanic@gmail.com>)
Responses Re: Underscorces in copy-documentation (9.0 and higher)  (Mario Duhanic <duhanic@gmail.com>)
List pgsql-docs
Mario Duhanic <duhanic@gmail.com> writes:
> 2013/3/20 Tom Lane <tgl@sss.pgh.pa.us>:
>> Huh?  The references to FORCE_QUOTE look correct to me.  The syntax
>> doesn't support multi-word option names, so it has to be like that
>> (or else run the words together, which doesn't sound like an
>> improvement).

> Thanks, Tom, for your quick response.
> Maybe this is just a miscommunication, sorry for that then (i.e. I
> misunderstood the documentation here).

> (Stupid) example for the problem:
> "COPY (SELECT aggfnoid, aggtransfn from pg_aggregate) TO STDOUT WITH
> FORCE QUOTE * DELIMITER ',' CSV HEADER;"
> will run, a FORCE_QUOTE or FORCEQUOTE won't

As Ian notes, that's the old syntax with a hard-wired option set.
The lack of parentheses after WITH is the difference.

            regards, tom lane


pgsql-docs by date:

Previous
From: Mario Duhanic
Date:
Subject: Fwd: Underscorces in copy-documentation (9.0 and higher)
Next
From: Mario Duhanic
Date:
Subject: Re: Underscorces in copy-documentation (9.0 and higher)