public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Mario Duhanic <[email protected]>
Cc: [email protected]
Subject: Re: Underscorces in copy-documentation (9.0 and higher)
Date: Wed, 20 Mar 2013 10:53:10 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAFOaSD2WZo8jfjQy+xHNL4O59vr6SZttPCeAoqUjZJAASZTCiA@mail.gmail.com>
References: <CAFOaSD1XwZM+cJOmphMDzNCzPJBYszv_ELD4ZaPkk0u9d0bMhg@mail.gmail.com>
	<[email protected]>
	<CAFOaSD2WZo8jfjQy+xHNL4O59vr6SZttPCeAoqUjZJAASZTCiA@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

Mario Duhanic <[email protected]> writes:
> 2013/3/20 Tom Lane <[email protected]>:
>> 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


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (6+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Underscorces in copy-documentation (9.0 and higher)
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox