Re: Emitting JSON to file using COPY TO

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Emitting JSON to file using COPY TO
Дата
Msg-id CAKFQuwbrNqsWcLrFcTurPOHtFQuCLWPk_6MLCrrVHhEp-wWJTw@mail.gmail.com
обсуждение исходный текст
Ответ на Emitting JSON to file using COPY TO  (Davin Shearer <scholarsmate@gmail.com>)
Список pgsql-general
On Sat, Nov 25, 2023 at 12:22 PM Davin Shearer <scholarsmate@gmail.com> wrote:

Is there a way to emit JSON results to file from within postgres?

Use psql to directly output query results to a file instead of using COPY to output structured output in a format you don't want.

David J.

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

Предыдущее
От: Davin Shearer
Дата:
Сообщение: Emitting JSON to file using COPY TO
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Emitting JSON to file using COPY TO