Re: Emitting JSON to file using COPY TO
От | Joe Conway |
---|---|
Тема | Re: Emitting JSON to file using COPY TO |
Дата | |
Msg-id | 70055855-8ea1-43dc-85c2-630b8cf3bbbd@joeconway.com обсуждение исходный текст |
Ответ на | Re: Emitting JSON to file using COPY TO (Maciek Sakrejda <m.sakrejda@gmail.com>) |
Ответы |
Re: Emitting JSON to file using COPY TO
|
Список | pgsql-hackers |
On 12/2/23 13:50, Maciek Sakrejda wrote: > On Fri, Dec 1, 2023 at 11:32 AM Joe Conway <mail@joeconway.com> wrote: >> 1. Is supporting JSON array format sufficient, or does it need to >> support some other options? How flexible does the support scheme need to be? > > "JSON Lines" is a semi-standard format [1] that's basically just > newline-separated JSON values. (In fact, this is what > log_destination=jsonlog gives you for Postgres logs, no?) It might be > worthwhile to support that, too. > > [1]: https://jsonlines.org/ Yes, I have seen examples of that associated with other databases (MSSQL and Duckdb at least) as well. It probably makes sense to support that format too. -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления: