Re: Emitting JSON to file using COPY TO

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: "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: 2024-08-22 05:19:00
Message-ID: CACJufxFvOQWcGpiaFkOxMGPc=g85h=-LdyB_2wXBSVQCO9RAHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Mon, Aug 19, 2024 at 8:00 AM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
>
> On Mon, Apr 1, 2024 at 8:00 PM jian he <jian(dot)universality(at)gmail(dot)com> wrote:
> >
> rebased.
> minor cosmetic error message change.
>
> I think all the issues in this thread have been addressed.

hi.
I did some minor changes based on the v11.

mainly changing some error code from
ERRCODE_FEATURE_NOT_SUPPORTED
to
ERRCODE_INVALID_PARAMETER_VALUE.

Attachment Content-Type Size
v12-0002-Add-option-force_array-for-COPY-TO.patch text/x-patch 8.0 KB
v12-0001-introduce-json-format-for-COPY-TO.patch text/x-patch 12.0 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lok P 2024-08-22 07:25:48 Re: Column type modification in big tables
Previous Message Tom Lane 2024-08-21 22:36:40 Re: unable to upgrade postgres extensions

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-22 06:11:06 Re: Enable data checksums by default
Previous Message Shubham Khanna 2024-08-22 04:58:16 Re: Pgoutput not capturing the generated columns