postgres_fdw: reject use_scram_passthrough for subscriptions.

The subscription is initiated from a logical replication worker, so
SCRAM pass-through won't work.

Partially addresses finding 3 in report from linked discussion.

Reported-by: Noah Misch <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d63f214d68d95bc51fec630023d20074e6d086df

Modified Files
--------------
contrib/postgres_fdw/connection.c          | 12 ++++++++++++
contrib/postgres_fdw/t/010_subscription.pl | 16 +++++++++++++++-
doc/src/sgml/postgres-fdw.sgml             |  7 +++++++
3 files changed, 34 insertions(+), 1 deletion(-)

Reply via email to