postgres-github.git / summary / log / commit / refs

commit    e2b8813403b19609a3f194b1d4cdb88df5aa4c7d
Author:   Fujii Masao <fujii@postgresql.org>
Date:     Mon May 25 16:07:24 2026 +0000

    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

[parent: 5f5165e2fe19]