Re: Add header support to text format and matching feature

Поиск
Список
Период
Сортировка
От Rémi Lapeyre
Тема Re: Add header support to text format and matching feature
Дата
Msg-id D98DE5B3-9D03-4EA5-8B28-4A9B66A7862B@lenstra.fr
обсуждение исходный текст
Ответ на Re: Add header support to text format and matching feature  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Add header support to text format and matching feature  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
> I would agree that this is a bug because we are failing to detect
> what's actually a redundant option here as the first option still
> causes the flag to be set to false, but that's not something worth a
> back-patch IMO.  What we are looking here is something similar
> to what is done with "format", where we track if the option has been
> specified with format_specified.  The same is actually true with the
> "freeze" option here, and it is true that we tend to prefer error-ing
> in such cases while there are exceptions like EXPLAIN.  I think that
> it would be nicer to be at least consistent with the behavior that
> each command has chosen, and COPY is now a mixed bag.

Here’s a new version of the patches that report an error when the options are set multiple time.

Regards,
Rémi


Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Optimize memory allocation code
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: enable_incremental_sort changes query behavior