pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #18540: Does PG16 standby database support function pg_replication_origin_advance?
2+ messages / 2 participants
[nested] [flat]
* BUG #18540: Does PG16 standby database support function pg_replication_origin_advance?
@ 2024-07-15 08:28 PG Bug reporting form <noreply@postgresql.org>
2024-07-16 01:00 ` Re: BUG #18540: Does PG16 standby database support function pg_replication_origin_advance? Michael Paquier <michael@paquier.xyz>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2024-07-15 08:28 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: jason.chentj@homecredit.cn
The following bug has been logged on the website:
Bug reference: 18540
Logged by: Does PG16 standby database support function pg_replication_origin_advance?
Email address: jason.chentj@homecredit.cn
PostgreSQL version: 16.1
Operating system: Red Hat Enterprise Linux Server release 7.9
Description:
Hi Guys,
am testing the PG 16 VERSION standby database replicate slot function. when
I issue below command to move the offset for replicate slot on standby
database got below error:
db_plumc=# select
pg_replication_origin_advance('standbyslot','5EE/5D1B13F8'::pg_lsn);
ERROR: cannot manipulate replication origins during recovery
Seems the function pg_replication_origin_advance is not supported running on
standby instance. It there any workaround for it?
Thanks
Jason
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #18540: Does PG16 standby database support function pg_replication_origin_advance?
2024-07-15 08:28 BUG #18540: Does PG16 standby database support function pg_replication_origin_advance? PG Bug reporting form <noreply@postgresql.org>
@ 2024-07-16 01:00 ` Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2024-07-16 01:00 UTC (permalink / raw)
To: jason.chentj@homecredit.cn; pgsql-bugs@lists.postgresql.org
On Mon, Jul 15, 2024 at 08:28:26AM +0000, PG Bug reporting form wrote:
> Seems the function pg_replication_origin_advance is not supported running on
> standby instance. It there any workaround for it?
Not that I know of. One would need to study how to lift this
restriction in place since the introduction of replication origins in
5aa2350426c4.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-07-16 01:00 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-07-15 08:28 BUG #18540: Does PG16 standby database support function pg_replication_origin_advance? PG Bug reporting form <noreply@postgresql.org>
2024-07-16 01:00 ` Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox