logial replication - drop subscription. - Mailing list pgsql-docs

From PG Doc comments form
Subject logial replication - drop subscription.
Date
Msg-id 174846365177.780.12843663746002009140@wrigleys.postgresql.org
Whole thread Raw
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/16/sql-droppublication.html
Description:

Hi,
I'm using a lot the logical replication.
I have to do some DDL changes, via an automatic process, on the primary.
That process drop the existing publication, which will stop the
subscription.
I kept the LSN information on the primary, perform the DDL changes on the
replica.
Than I recreate the publication, use the pg_replication_slot_advance using
the savec LSN.
When I re-enable the subscription, I have an error message in the postgres
log saying that the publication doesn't exist. However, it does have the
same name.
Can a note be added on the "DROP PUBLICATION" page to mention that dropping
a publication will compromise the logical replication process event if the
publication is recreated with the same name.
Thanks.

pgsql-docs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Documentation should state what happens, when a commit fails
Next
From: LUC PHEMBA
Date:
Subject: PostgreSQL 17 default value assignment doesn't work in pgAdmin4 v9.4