pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.
Date: 2026-08-03 20:45:59
Message-ID: E1wqzXr-000000003n3-0uR0@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <noah(at)leadboat(dot)com>
Discussion: https://postgr.es/m/20260710195902.4f.noahmisch@microsoft.com
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-08-03 20:46:05 pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.
Previous Message Jeff Davis 2026-08-03 20:29:26 pgsql: Improve DROP SERVER handling of dependent subscriptions.