Foreign data wrappers
SQL/MED foreign tables and the FDW API: writable FDWs, IMPORT FOREIGN SCHEMA, foreign partitions, batch insert, TRUNCATE and pushdown hooks. Introduced in PostgreSQL 9.1.
Versions
- PostgreSQL 20 · worked-on · improved · minor
- PostgreSQL 19 · worked-on · improved · moderate
- PostgreSQL 18 · worked-on · improved · moderate
- PostgreSQL 17 · shipped · improved · minor · 1 commit · +8 / -4 lines
Threads
- Support "ALTER FOREIGN TABLE ... RENAME CONSTRAINT ..."
- improvements / reworks for FDW insert batching
- ALTER FOREIGN DATA WRAPPER can drop dependency on handler
- [PATCH] Make ReScanForeignScan callback optional for FDWs
- Proposal to allow DELETE/UPDATE on partitioned tables with unsupported foreign partitions
- tighten generic_option_name, or store more carefully in catalog?
- Extensible user mapping handler for FDW
- Allow FDW extensions to support MERGE command via CustomScan
- Skip adding row-marks for non target tables when result relation is foreign table.
- doc patch: note AttributeRelationId passed to FDW validator function
- patch: improve "user mapping not found" error message
- FDW LIM IT pushdown
- [DOCS] alter_foreign_table.sgml typo
- [POC] Fast COPY FROM command for the table with foreign partitions
- Add a test for "cannot truncate foreign table"
- Support TRUNCATE triggers on foreign tables
- Remove useless tests about TRUNCATE on foreign table
- BUG #17328: import foreign schema never reports errors
- Update of partition key on foreign server
- Per query FDW network stat collection
- parent foreign tables and row marks
- EvalPlanQual behaves oddly for FDW queries involving system columns
- Support for VACUUMing Foreign Tables
- TRUNCATE on foreign table
- psql tab completion for \h with IMPORT FOREIGN SCHEMA
- tab completion of IMPORT FOREIGN SCHEMA
- file_fdw vs relative paths
- Clarifying the ImportForeignSchema API
- TRUNCATE on foreign tables
- Option to dump foreign data in pg_dump
- CREATE ROUTINE MAPPING
- Regarding Foreign data wrapper Import Schema
- Documentation updates for direct foreign table modification
- User mapping: view over a foreign table
- Missing FDW documentation about GetForeignUpperPaths
- pgsql: Allow insert and update tuple routing and COPY for foreign table
- Using file_fdw to load tsv file into Foreign Table gives Permission denied error
- BUG #15613: Bug in PG Planner for Foreign Data Wrappers
- Oddity in tuple routing for foreign partitions
- bug? import foreign schema forgets to import column description
- Is anything preventing us from allowing write to foreign tables from standby?
- no test coverage for ALTER FOREIGN DATA WRAPPER name HANDLER ...
- foreign table creation and NOT VALID check constraints
- BUG #14709: inconsistent answers with foreign data wrappers to mysql