model-writtenrun 899 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported that server-level use_scram_passthrough settings override user mappings and proposed giving per-user settings precedence, consistent with server options serving as defaults #1.
- Matheus Alcantara agreed, identified the same behavior in dblink, and supplied separate postgres_fdw and dblink fixes with documentation and authentication tests #2.
- Fujii approved the approach, requested explanatory comments, and discovered that dblink also accepts use_scram_passthrough on foreign-data wrappers where it has no effect; Matheus added the comments and a third patch restricting the option to servers and user mappings #3 #4.
- Fujii questioned using TAP for the validator test and suggested SQL regression coverage; Matheus retained the test but moved it into sql/dblink.sql, leaving the three fixes' logic unchanged #5 #6.
- The participants considered compatibility risks from changing PostgreSQL 18 precedence, then agreed to backpatch because only conflicting settings are affected and consistent per-user overrides are preferable; Fujii also explained that an additional postgres_fdw validation test would duplicate existing generic coverage, which Matheus accepted #5 #6 #7 #8.
- Fujii committed the final submission's postgres_fdw and dblink precedence patches unchanged apart from rebasing as 97f6fc10ff and 5f5165e2fe, and its dblink validator patch with only comment formatting as e2b8813403; all three came from #6 and were backpatched to PostgreSQL 18.
- Fujii's final message confirmed that all patches had been pushed, leaving no outstanding work identified in the thread #9.