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 <[email protected]>

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

Reply via email to