]> git.ipfire.org Git - thirdparty/postgresql.git/commit
dblink: Give user mapping precedence for use_scram_passthrough
authorFujii Masao <fujii@postgresql.org>
Mon, 25 May 2026 15:51:18 +0000 (00:51 +0900)
committerFujii Masao <fujii@postgresql.org>
Mon, 25 May 2026 15:51:18 +0000 (00:51 +0900)
commit5f5165e2fe193cc2c9e9078992cdb277013e8dec
treef7c280a6958be1248da07e2811374452da91a6ee
parent97f6fc10fff0e42d08d78ce7f2a5b116e7f8d9b2
dblink: Give user mapping precedence for use_scram_passthrough

Commit 97f6fc10fff changed postgres_fdw so that user-mapping settings
override foreign server settings for use_scram_passthrough. This commit
applies the same behavior to dblink.

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
contrib/dblink/dblink.c
contrib/dblink/t/001_auth_scram.pl
doc/src/sgml/dblink.sgml