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