pgsql: postgres_fdw: Test COPY ... TO (FORMAT json)

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Test COPY ... TO (FORMAT json)
Date: 2026-11-09 14:21:51
Message-ID: E1xQQFr-000000003Nx-2xDj@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Test COPY ... TO (FORMAT json)

Once for a foreign table that needs a projection, due to dropped
columns, and once for one that doesn't. Previously there was no
coverage for FORMAT json from an FDW. That path is good to test due to
postgres_fdw's somewhat odd modifications of tuple headers.

Security: CVE-2026-6460
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b6b14f6424c49d25c43f280832e7ebaa38edc573
Author: Andres Freund <andres(at)anarazel(dot)de>

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 10 ++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 13 +++++++++++++
2 files changed, 23 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2026-11-09 14:21:52 pgsql: Avoid use-after-free hazards in re-entrant use of pltcl.
Previous Message Noah Misch 2026-11-09 14:21:50 pgsql: Teach equalRowTypes() to safely handle dropped columns.