Re: Emitting JSON to file using COPY TO

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Daniel Verite <daniel(at)manitou-mail(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Davin Shearer <davin(at)apache(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Emitting JSON to file using COPY TO
Date: 2025-11-10 00:53:02
Message-ID: CACJufxG7T2_LF=UuJ4iFYMJZsK37L6d3XJvBrcR-3Pp3z+BiGw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, Oct 1, 2025 at 2:16 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> hi.
> v19 attached, same as v18.
> repost it so that CFbot can pick up the latest patchset.

hi.

new patch attached, rebase only.

Attachment Content-Type Size
v20-0001-introduce-CopyFormat-refactor-CopyFormatOptions.patch text/x-patch 13.1 KB
v20-0003-Add-option-force_array-for-COPY-JSON-FORMAT.patch text/x-patch 9.7 KB
v20-0002-json-format-for-COPY-TO.patch text/x-patch 22.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-11-10 00:53:36 Re: Some efforts to get rid of "long" in our codebase
Previous Message Haruna Miwa 2025-11-10 00:40:43 Add MERGE and VALUES statements to tab completion for PREPARE

Browse pgsql-general by date

  From Date Subject
Previous Message Adrian Klaver 2025-11-08 16:34:25 Re: Index corruption issue after migration from RHEL 7 to RHEL 9 (PostgreSQL 11 streaming replication)