postgres_fdw
Foreign data wrapper for remote PostgreSQL servers: join/sort/aggregate/DML pushdown, batching, connection management and remote transaction handling. Introduced in PostgreSQL 9.3.
Versions
- PostgreSQL 20 · in-development · improved · moderate · 3 commits · +1.7k / -92 lines
- PostgreSQL 19 · shipped · improved · moderate · 3 commits · +459 / -9 lines
- PostgreSQL 18 · shipped · improved · moderate · 6 commits · +512 / -109 lines
- PostgreSQL 17 · shipped · improved · moderate · 4 commits · +779 / -165 lines
- PostgreSQL 16 · worked-on · improved · moderate
- PostgreSQL 15 · worked-on · improved · moderate
Threads
- Bypassing cursors in postgres_fdw to enable parallel plans
- BUG #19931: postgres_fdw: FOR UPDATE over a pushed-down join ignores a pseudoconstant qual
- postgres_fdw: Fix costing of remote sorts without remote estimates
- postgres_fdw returns wrong rows for age(timestamptz, timestamptz) filters
- Semi-join related bug in postgres_fdw
- postgres_fdw: Use COPY to speed up batch inserts
- Postgres fdw: Bug in InitPgFdwOptions initialization can cause an esoteric crash
- BUG #19827: postgres_fdw: Assert in add_foreign_ordered_paths() with redundant ORDER BY in set-op input
- [(known) BUG] DELETE/UPDATE more than one row in partitioned foreign table
- [PATCH] Fix whole-row type errors in postgres_fdw UPDATE joins
- [PATCH v1] postgres_fdw: Fix local costing of remote quals after semi-joins
- postgres_fdw: transaction mode inheritance corner cases
- postgres_fdw: Emit message when batch_size is reduced
- postgres_fdw: semi-join pushdown generates invalid remote SQL ("missing FROM-clause entry") with a nested correlated subquery
- Typo in version check in postgresAcquireSampleRowsFunc
- support parameterized (LATERAL) foreign joins
- postgres_fdw: push down FETCH FIRST .. WITH TIES when server version allows
- Parameterized append subpaths
- explain plans for foreign servers
- postgres_fdw: Fix crash when estimating joins with functions
- Re: Function scan FDW pushdown
- postgres_fdw: Fix flaky push down FUNCTION RTE test
- pgsql: postgres_fdw: push down FUNCTION RTE into foreign joins
- CI failure: postgres_fdw_get_connections
- postgres_fdw could deparse ArrayCoerceExpr
- Using ForeignScan::fs_server to find user mapping
- Set notice receiver before libpq connection startup
- [PATCH] Fix infinite recursion when foreign table references itself
- Use-after-free issue in postgres_fdw
- docs: Fix format of CREATE FOREIGN TABLE example in postgres_fdw
- Options to control remote transactions’ access/deferrable modes in postgres_fdw
- Avoid resource leak (contrib/postgres_fdw/connection.c)
- pgsql: postgres_fdw: Inherit the local transaction's access/deferrable
- Comment for UserMappingPasswordRequired in contrib/postgres_fdw
- Instability in postgres_fdw regression tests
- Limit memory usage by postgres_fdw batches
- Make T_CoalesceExpr executable on a foreign server
- postgres_fdw prefers fast plans
- postgres_fdw: Add more test coverage for EvalPlanQual testing
- Problem while updating a foreign table pointing to a partitioned table on foreign server
- TRAP: failed Assert("outerPlan != NULL") in postgres_fdw.c
- [BUG] Query with postgres fwd deletes more tuples than it should
- Invalid remote sampling test in postgres_fdw.
- Function scan FDW pushdown
- Compilation error with buildtype = release
- Making pgfdw_report_error statically analyzable
- Fixing memory leaks in postgres_fdw
- Avoid possible dereference null pointer (contrib/postgres_fdw/postgres_fdw.c)
- BUG #18928: postgres_fdw search_path not reset causing pgbouncer pool_mode=transaction using the wrong schema
- [PROPOSAL] : Disallow use of empty column name in (column_name '') in ALTER or CREATE of foreign table.
- Remote partitionwise doesn't work for varchar join keys
- Remove an unnecessary check on semijoin_target_ok() on postgres_fdw.c
- Add semi-join pushdown to postgres_fdw
- Regression test postgres_fdw might fail due to autovacuum
- BUG #18852: Unexpected expression in subquery output
- BUG #18836: Cannot import foreign schema under different schema name when foreign table uses row types
- Extend postgres_fdw_get_connections to return remote backend pid
- postgres_fdw: Provide better emulation of READ COMMITTED behavior
- encrypted pk8 keys work with libpg connection but not in postgres_fdw
- BUG #18690: A count function returns wrong value when using FDW
- [Proposal] Add foreign-server health checks infrastructure
- BUG #18621: postgres_fdw cannot work with tables that use schemaless functions in triggers
- Proposal to have INCLUDE/EXCLUDE options for altering option values
- Cross-version Compatibility of postgres_fdw
- FDW INSERT batching can change behavior
- possible issue in postgres_fdw batching
- d844cd75a and postgres_fdw
- BUG #17889: Invalid cursor direction for a foreign scan that reached the fetch_size (MOVE BACKWARD ALL IN cX)
- Why is 'use_alias' hardcoded to true in deparseFromExprForRel() for some cases
- BUG #18467: postgres_fdw (deparser) ignores LimitOption
- postgres_fdw fails because GMT != UTC
- Postgres_FDW doc doesn't specify TYPE support in Remote Execution Options
- Postgres_FDW doc doesn't specify TYPE support in Remote Execution Options
- postgres_fdw: Useless test in pgfdw_exec_cleanup_query_end()
- Postgres_FDW doc doesn't specify TYPE support in Remote Execution Options
- Invalid query generated by postgres_fdw with UNION ALL and ORDER BY
- postgres_fdw test timeouts
- BUG #18381: Invalid query generated by postgres_fdw with UNION ALL and ORDER BY
- Fix analyze_sampling docs in postgres-fdw.sgml
- Issue in postgres_fdw causing unnecessary wait for cancel request reply
- Update docs for default value of fdw_tuple_cost
- Changing baserel to foreignrel in postgres_fdw functions
- User mapping security
- Why is DEFAULT_FDW_TUPLE_COST so insanely low?
- FDW pushdown of non-collated functions
- Query execution failure
- Test case for parameterized remote path in postgres_fdw
- postgres_fdw: wrong results with self join + enable_nestloop off
- postgres_fdw could support row comparison pushdown
- Fdw batch insert error out when set batch_size > 65535
- buffer refcount leak in foreign batch insert code
- postgres_fdw: commit remote (sub)transactions in parallel during pre-commit
- Wrong results with postgres_fdw and merge anti join from RHEL 7.9 to RHEL 8.7
- Fix code comment in postgres_fdw.c
- BUG #17871: JIT during postgresql_fdw remote_estimates EXPLAIN have very negatively effect on planning time
- BUG #17870: Analyze on remote postgresql_fdw table never finish
- Doc: Improve note about copying into postgres_fdw foreign tables in batch
- postgres_fdw: Useless if-test in GetConnection()
- BUG #17789: process_pgfdw_appname() fails for autovacuum workers
- Refactoring postgres_fdw/connection.c
- exceptional result of postres_fdw external table joining local table
- postgres_fdw uninterruptible during connection establishment / ProcSignalBarrier
- isolation test for postgres_fdw interruptability
- postgres_fdw: using TABLESAMPLE to collect remote sample
- postgres_fdw: batch inserts vs. before row triggers
- postgres_fdw binary protocol support
- postgres_fdw hint messages
- foreign join error "variable not found in subplan target list"
- Push down time-related SQLValue functions to foreign server
- postgres_fdw: Fix bug in checking of return value of PQsendQuery().
- BUG #17483: postgres_fdw used with text to_tsvector and custom search configuration
- postgres_fdw versus regconfig and similar constants
- postgres_fdw has insufficient support for large object
- postgres_fdw "parallel_commit" docs
- ORDER BY pushdowns seem broken in postgres_fdw
- BUG #17413: update of partitioned table via postgres_fdw updates to much rows
- postgres_fdw and skip locked
- Support escape sequence for cluster_name in postgres_fdw.application_name
- BUG #17355: Server crashes on ExecReScanForeignScan in postgres_fdw when accessing foreign partition
- Foreign join search stops on the first try
- Reg. evaluation of expression in HashCond
- Query on postgres_fdw extension
- Allow escape in application_name (was: [postgres_fdw] add local pid to fallback_application_name)
- Shouldn't postgres_fdw report warning when it gives up getting result from foreign server?
- issue in pgfdw_report_error()?
- [PATCH] postgres-fdw: column option to override foreign types
- Improve the HINT message of the ALTER command for postgres_fdw
- postgres_fdw: misplaced? comments in connection.c
- postgres_fdw: Obsolete comments in GetConnection()
- BUG #16583: merge join on tables with different DB collation behind postgres_fdw fails
- postgres_fdw: Handle boolean comparison predicates
- Refactoring postgres_fdw code to rollback remote transaction
- Doc: Extra type info on postgres-fdw option import_generated in back branches
- BUG #17162: order by clause is not pushed down to foreign scans when a WHERE clause is given in query
- BUG #16631: postgres_fdw tries to insert into generated columns
- Case expression pushdown
- [postgres_fdw] add local pid to fallback_application_name
- a thinko in b676ac443b6
- Inaccurate error message when set fdw batch_size to 0
- Fix memory leak when output postgres_fdw's "Relations"
- postgres_fdw - make cached connection functions tests meaningful
- Support kerberos authentication for postgres_fdw
- Support kerberos authentication for postgres_fdw
- PostgreSQL 14 backend crash on incorrect trigger
- [PATCH][postgres_fdw] Add push down of CASE WHEN clauses
- postgres_fdw - should we tighten up batch_size, fetch_size options against non-numeric values?
- add argument type to postgres_fdw docs
- postgres_fdw batching vs. (re)creating the tuple slots
- join pushdown and issue with foreign update
- FDW and connections
- batch fdw insert bug (Postgres 14)
- Simplify backend terminate and wait logic in postgres_fdw test
- postgres_fdw: IMPORT FOREIGN SCHEMA ... LIMIT TO (partition)
- [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit
- extra semicolon in postgres_fdw test cases
- Obsolete comment in postgres_fdw.c
- POC: postgres_fdw insert batching
- BUG #16807: Assert failed in postgres_fdw/estimate_path_cost_size with an empty foreign table
- [WIP] Reduce likelihood of fdw prepared statement collisions
- postgres_fdw - cached connection leaks if the associated user mapping/foreign server is dropped
- Feature request: Connection string parsing for postgres_fdw
- Retry Cached Remote Connections for postgres_fdw in case remote backend gets killed/goes away
- Ideas about a better API for postgres_fdw remote estimates
- jsonb, collection & postgres_fdw
- estimation problems for DISTINCT ON with FDW
- Partitioning and postgres_fdw optimisations for multi-tenancy
- Very slow inserts when using postgres_fdw + declarative partitioning
- [BUG?] postgres_fdw incorrectly updates remote table if it has inherited children.
- Segfault on updating foreign table
- pgsql: Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings
- Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings
- pgsql: Superuser can permit passwordless connections on postgres_fdw
- [HACKERS] Proposal to add work_mem option to postgres_fdw module
- BUG #16139: Assertion fails on INSERT into a postgres_fdw' table with two AFTER INSERT triggers
- Allow superuser to grant passwordless connection rights on postgres_fdw
- no mention of GRANT USAGE in postgres_fdw docs
- [PATCH][DOC] Fix for PREPARE TRANSACTION doc and postgres_fdw message.
- [Proposal] Arbitrary queries in postgres_fdw
- log spam with postgres_fdw
- FDW does not push down LIMIT & ORDER BY with sharding (partitions)
- Another way to fix inherited UPDATE/DELETE
- postgres_fdw: Minor improvement to postgresAcquireSampleRowsFunc
- Querying foreign table with SP-GiST index results in “ERROR: cache lookup failed for type 0”
- postgres_fdw: oddity in costing presorted foreign scans with local stats
- BEFORE UPDATE trigger on postgres_fdw table not work
- BUG #15781: subselect on foreign table (postgres_fdw) can crash (segfault)
- postgres_fdw: another oddity in costing aggregate pushdown paths
- Problems with plan estimates in postgres_fdw
- Query issues on Foreign tables
- Handling of ORDER BY by postgres_fdw
- postgres_fdw: estimate_path_cost_size fails to re-use cached costs
- postgres_fdw: oddity in costing aggregate pushdown paths
- de-deduplicate code in DML execution hooks in postgres_fdw
- Bogus EPQ plan construction in postgres_fdw
- BUG #15506: Foreign data wrapper (postgres_fdw) unexpected behavior
- postgres_fdw
- Is it possible for postgres_fdw to push down queries on co-located tables?
- Is it really difficult for postgres_fdw to implement READ COMMITTED isolation?
- BUG #15352: postgresql FDW error "ERROR: ORDER BY position 0 is not in select list"
- Two proposed modifications to the PostgreSQL FDW
- Wrong GROUP BY semantics with postgres_fdw
- Allow postgres_fdw passwordless non-superuser conns with prior superuser permission
- BUG #15287: postgres_fdw: the "WHERE date_trunc('day', dt) = 'YYYY-MM-DD' does not push to remote.
- Another oddity in handling of WCO constraints in postgres_fdw
- postgresql_fdw doesn't handle defaults correctly
- Wrong cost estimation for foreign tables join with use_remote_estimate disabled
- postgres_fdw misbehaviour using "DELETE ... RETURNING *"
- postgres_fdw: Oddity in pushing down inherited UPDATE/DELETE joins to remote servers
- postgres_fdw: perform UPDATE/DELETE .. RETURNING on a join directly
- PlaceHolderVars in pushed down child-join cause error
- postgres_fdw bug in 9.6
- BUG #14890: Error grouping by same column twice using FDW
- Server postgres_fdw "fetch_size" option cannot be updated
- postgres_fdw: Add support for INSERT OVERRIDING clause
- postgres_fdw super user checks
- Unclear regression test for postgres_fdw
- Push down more UPDATEs/DELETEs in postgres_fdw
- postgres_fdw: support parameterized foreign joins
- postgres_fdw: evaluate placeholdervars on remote server
- Varying results when using merge joins over postgres_fdw vs hash joins
- BUG #14819: postgres_fwd could not load library
- Can't read oprcode from remote pg_operator
- Error of insert Foreign table with postgres_fdw
- BUG #14770: postgres_fdw assumes foreign table is in postgres
- expand_dbname in postgres_fdw
- Mishandling of WCO constraints in direct foreign table modification
- BUG #14738: ALTER SERVER for foregin servers not working
- statement_timeout is not working as expected with postgres_fdw
- postgres_fdw cost estimation defaults and documentation
- postgres_fdw aggregation pushdown has collation change in 10beta.
- User-defined Operator Pushdown and Collations