Re: Underscorces in copy-documentation (9.0 and higher)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Underscorces in copy-documentation (9.0 and higher)
Дата
Msg-id 2772.1363791190@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Underscorces in copy-documentation (9.0 and higher)  (Mario Duhanic <duhanic@gmail.com>)
Ответы Re: Underscorces in copy-documentation (9.0 and higher)
Список 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 по дате отправления:

Предыдущее
От: Mario Duhanic
Дата:
Сообщение: Fwd: Underscorces in copy-documentation (9.0 and higher)
Следующее
От: Mario Duhanic
Дата:
Сообщение: Re: Underscorces in copy-documentation (9.0 and higher)