agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.
Date: Mon, 03 Aug 2026 20:46:05 +0000
Message-ID: <E1wqzXx-000000003nh-2x3s@gemulon.postgresql.org> (raw)

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@leadboat.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(-)



view thread (2+ messages)

Message-ID: <E1wqzXx-000000003nh-2x3s@gemulon.postgresql.org>
Permalink:  ../E1wqzXx-000000003nh-2x3s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wqzXx-000000003nh-2x3s@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: postgres_fdw: reject use_scram_passthrough for subscriptions.
  In-Reply-To: <E1wqzXx-000000003nh-2x3s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox