Re: Allow COPY's 'text' format to output a header

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Allow COPY's 'text' format to output a header
Дата
Msg-id f1b42751-659f-43fc-8747-b9c8932d196a@manitou-mail.org
обсуждение исходный текст
Ответ на Re: Allow COPY's 'text' format to output a header  (Simon Muller <samullers@gmail.com>)
Ответы Re: Allow COPY's 'text' format to output a header  (Cynthia Shang <cynthia.shang@crunchydata.com>)
Список pgsql-hackers
    Simon Muller wrote:

> I changed the error type and message for consistency with other similar
> errors in that file. Whenever options are combined that are incompatible,
> it looks like the convention is for a ERRCODE_SYNTAX_ERROR to be thrown.

That makes sense, thanks for elaborating, although there are also
a fair number of ERRCODE_FEATURE_NOT_SUPPORTED in copy.c
that are raised on forbidden/nonsensical combination of features,
so the consistency argument could work both ways.

Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: [HACKERS] Can ICU be used for a database's default sort order?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Restricting maximum keep segments by repslots