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:56
Message-ID: E1xQQFw-000000003Y7-14tE@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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3dc90fdf60c5f110b8a07f7ed561ba21697627d7
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:57 pgsql: Fix reusing large allocations in generation memory contexts
Previous Message Noah Misch 2026-11-09 14:21:55 pgsql: Fix type confusion with materialized set-returning functions