Re: [PATCH] Reject ENCODING option for COPY TO FORMAT JSON

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [PATCH] Reject ENCODING option for COPY TO FORMAT JSON
Дата
Msg-id BAE67870-B76F-4B56-9BC4-F2E01AA7D8FF@yesql.se
обсуждение
Ответ на [PATCH] Reject ENCODING option for COPY TO FORMAT JSON  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
Ответы Re: [PATCH] Reject ENCODING option for COPY TO FORMAT JSON
Список pgsql-hackers
> On 20 Apr 2026, at 08:06, Ayush Tiwari <ayushtiwari.slg01@gmail.com> wrote:

> The attached patch rejects the explicit ENCODING option for JSON
> mode, consistent with how DELIMITER, NULL, DEFAULT, and HEADER are
> already rejected.

Given that we reject other incompatible parameters it makes sense to reject
this one as well, however I think we can expand the comment a little and
explain why.

--
Daniel Gustafsson




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