Query regarding support of test_decoding and PGReplicationStream with Standby Logical Replication

From: Kiran K V <kirankv(dot)1982(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Query regarding support of test_decoding and PGReplicationStream with Standby Logical Replication
Date: 2025-07-11 11:38:26
Message-ID: CAGv0ivo-mWbs946rzjsAS3E7URhofQSbt3kX__hq7ysLScq3DQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have a question regarding the new feature introduced in PostgreSQL 16
that enables logical replication from a standby server.

Currently, we are using a standalone instance of PostgreSQL 16 and
performing logical replication by creating replication slots and utilizing
the JDBC replication stream API (PGReplicationStream) with the
test_decoding plugin.

Could you please confirm whether this approach of logical replication is
supported from a standby system? Specifically, does the standby system
support the test_decoding plugin and the JDBC PGReplicationStream API for
streaming changes ?

Reference to JDBC Logical replication -
https://jdbc.postgresql.org/documentation/server-prepare/#example-96-create-logical-replication-stream

Regards,
Kiran

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2025-07-11 11:46:45 Re: Aggregate versions of hashing functions (md5, sha1, etc...)
Previous Message Mircea Cadariu 2025-07-11 10:42:44 Re: analyze-in-stages post upgrade questions