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 <[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