Re: [PATCH] COPY TO FORMAT json: respect column list order

From: Baji Shaik <baji(dot)pgdev(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] COPY TO FORMAT json: respect column list order
Date: 2026-06-25 15:44:54
Message-ID: CA+fm-RNqDvugXsLTUL1Jw5KK-Ypyt+ytUq-zAT+M6Y2BpMWGCA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 24, 2026 at 10:22 AM Baji Shaik <baji(dot)pgdev(at)gmail(dot)com> wrote:

> Added to the commitfest: https://commitfest.postgresql.org/patch/6934/
>

v3 had a CI failure due to embedded CR characters in the test's
expected output.

Attached v4 replaces the test with a simple integer table that avoids
the issue while still testing column reordering across all three
formats (text, csv, json).

Thanks,
Baji Shaik.

Attachment Content-Type Size
v4-0001-COPY-TO-FORMAT-JSON-respect-column-list-order.patch application/octet-stream 3.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-06-25 15:48:07 Re: doc: fix pg_stat_autovacuum_scores threshold wording
Previous Message Rui Zhao 2026-06-25 15:40:19 Re: Add per-backend lock statistics