Re: Emitting JSON to file using COPY TO

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Emitting JSON to file using COPY TO
Дата
Msg-id a270aba3-899c-4972-b9b8-95a6228626e4@aklaver.com
обсуждение исходный текст
Ответ на Re: Emitting JSON to file using COPY TO  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: Emitting JSON to file using COPY TO
Список pgsql-general
On 11/27/23 01:44, Dominique Devienne wrote:
> On Mon, Nov 27, 2023 at 10:33 AM Dominique Devienne <ddevienne@gmail.com 
> <mailto:ddevienne@gmail.com>> wrote:
> 

> On second thought, I guess that's COPY in its text modes doing the escaping?
> Interesting. The text-based modes of COPY are configurable. There's even 
> a JSON mode.

Where are you seeing the JSON mode for COPY? AFAIK there is only text 
and CSV formats.

> By miracle, would the JSON output mode recognize JSON[B] values, and 
> avoid the escaping?
> 
> 

-- 
Adrian Klaver
adrian.klaver@aklaver.com




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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Parallel Index Scan Implementation
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Could not read from file "pg_subtrans/00F5" at offset 122880: Success.