postgresql/contrib/dblink
Fujii Masao e2b8813403 dblink: Reject use_scram_passthrough on foreign-data wrappers
Previously, dblink accepted the use_scram_passthrough option on
foreign-data wrappers via ALTER FOREIGN DATA WRAPPER dblink_fdw
OPTIONS, even though the setting had no effect there.

use_scram_passthrough should be only meaningful for foreign servers
and user mappings, so this commit updates dblink to accept the option
only in those contexts.

Backpatch to v18, where use_scram_passthrough was introduced.

Author: Matheus Alcantara <matheusssilv97@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwEJ8rZjmbOvCicyr4vbuLio082bNTde0WNoSWaWr9wVcg@mail.gmail.com
Backpatch-through: 18
2026-05-26 01:07:24 +09:00
..
expected dblink: Reject use_scram_passthrough on foreign-data wrappers 2026-05-26 01:07:24 +09:00
sql dblink: Reject use_scram_passthrough on foreign-data wrappers 2026-05-26 01:07:24 +09:00
t dblink: Give user mapping precedence for use_scram_passthrough 2026-05-26 00:51:18 +09:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
dblink--1.0--1.1.sql Fix typo in update scripts for some contrib modules. 2013-07-19 04:13:01 +09:00
dblink--1.1--1.2.sql Fix parallel-safety markings for contrib/dblink. 2016-06-17 23:08:21 -04:00
dblink--1.2.sql Fix parallel-safety markings for contrib/dblink. 2016-06-17 23:08:21 -04:00
dblink.c dblink: Reject use_scram_passthrough on foreign-data wrappers 2026-05-26 01:07:24 +09:00
dblink.control Update dblink extension for parallel query. 2016-06-17 15:18:44 -04:00
Makefile dblink: SCRAM authentication pass-through 2025-03-26 10:49:23 +01:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_service.conf Diagnose incompatible OpenLDAP versions during build and test. 2014-07-22 11:01:03 -04:00