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:46:05
Message-ID: E1wqzXx-000000003nh-2x3s@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
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8c1723f550a7adf6373c8c507e819fc3249d793a

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 Nathan Bossart 2026-08-03 21:03:07 pgsql: Handle concurrently-dropped relations in database-wide VACUUM.
Previous Message Jeff Davis 2026-08-03 20:45:59 pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.