model-writtenrun 6938 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Aug - Sep 2023 · 3 entries
- Jeff Davis proposed CREATE SUBSCRIPTION ... SERVER in #1 to centralize connection settings and user mappings, initially introducing connection-only servers and a separate pg_create_connection privilege.
- Ashutosh Bapat wanted existing FDW servers usable for replication and future sharding integration in #2, while Tom Lane proposed a dummy FDW instead of special grammar in #3; Robert Haas questioned both the hybrid design and modification of predefined-role memberships in #7.
- Discussion explored built-in postgres_fdw and broader FDW integration, but raised security and core-to-extension dependency concerns; Jeff concluded in #19 that connection-time password validation would permit the more general FDW approach.
Dec 2023 - Mar 2024 · 6 entries
- After several months, Jeff replaced connection-only syntax with a built-in pg_connection_fdw in #20, then corrected pg_dump behavior and documentation in #21.
- Bharath Rupireddy's detailed review in #22 led Jeff to split the work into validation, built-in FDW, subscription integration, and privilege components in #23, with clearer option handling and permission explanations.
- Ashutosh requested an end-to-end postgres_fdw test in #26, which Jeff added in #27; Joe Conway's escaping review in #28 prompted clarification of libpq quoting, and #30 restored the privilege proposal with a FOR SUBSCRIPTION server attribute.
- Ashutosh questioned the dummy FDW's scope and supplied a working foreign-table test enhancement in #33; Jeff incorporated that test, removed the dummy FDW, and stopped recording subscription dependencies on user mappings in #36.
- Bharath proposed removing the deprecated validator with the incremental patch in #38, but that branch did not appear in the eventual feature landing.
- Ashutosh argued in #39 that connection-string construction belonged to the FDW; Jeff adopted an optional CONNECTION function in #42, moving implementation into postgres_fdw and dropping the still-unsettled privilege component from the submitted series.
Oct 2024 · 1 entry
- After a long gap, #43 rebased the callback design and also added an internal function argument and memory-context handling; #44 and #45 subsequently maintained it through further rebases.
Feb - Apr 2025 · 1 entry
- Vignesh C reported cascading-deletion, psql, test, and dumping problems in #46 and #47, while Shlok Kyal identified duplicated dump-query columns in #48; Jeff acknowledged missing the release in #49 and later fixed the query in #50.
Dec 2025 - Apr 2026 · 14 entries
- Jeff's #51 repaired merge mistakes, shared postgres_fdw connection-parameter construction, added core tests and documentation, and prepared the postgres_fdw 1.3 upgrade.
- Masahiko Sawada's review in #52 led to expanded documentation, psql server display, and a separate dblink adaptation in #53; Jeff then revised temporary-memory handling in #54, while explicitly leaving dblink awaiting further review.
- Reviews from Masahiko and Amit Kapila in #55 and #56 led to catalog metadata and visibility fixes in #57, which also added FDW invalidation and rejected cascading deletion of servers with subscription dependencies.
- Ashutosh's final pre-commit review in #59 requested removal of ForeignServerName(), dump coverage, and tests for switching connection modes; 8185bb5347 then landed the feature from #57 with additional owner-permission checks, drop handling, and regression tests.
- Amit identified unused copied test setup in #60 and clarified the problem in #65; Jeff responded with six follow-up patches in #66, also addressing Ashutosh's requests and memory-cleanup feedback attributed to Andres Freund.
- The pg_dump tests in #66 exposed omission of the FDW CONNECTION clause from dumps, but the proposed test itself could not reliably access the regression-library connection function in all build configurations.
- Amit explicitly approved the test cleanup in #68, and f4af7849b3 landed that component of #66 with unchanged code.
- The dump fix and connection-switching tests from #66 landed separately as b71bf3b845 and 1c5bf1185a, with the latter also receiving perltidy formatting.
- Amit questioned the memory-context lifetime in #68 and #70; Alvaro Herrera proposed per-subscription ownership in #72 and supplied the implementing delta in #73.
- Jeff resent the remaining fixes in #74 and added missing dependencies on FDW connection functions; 4a0b46b6e1 landed that new component with additional dependency-preservation tests.
- Following Amit's endorsement in #75, f16f5d608c combined the memory cleanup retained in #74 with Alvaro's #73, superseding the earlier worker-owned context implementation in #1122152 from thread #246848, while 11f8018ee6 landed the ForeignServerName() refactoring unchanged in substance.
- Jeff confirmed the memory-context landing and its small final adjustments in #76, identifying availability of the connection test function during pg_dump tests as the remaining issue.
- Noriyoshi Shinoda reported missing fdwconnection catalog documentation and supplied #77; Jeff expanded its wording and also documented subserver in 90630ec429, confirming both corrections in #78.
- By the last message, the main feature and the listed follow-up fixes had landed, but the pg_dump test-function question raised in #76 had no recorded resolution, and the separately deferred dblink adaptation from #54 had no demonstrated landing in this thread.