| От | PG Doc comments form |
|---|---|
| Тема | logial replication - drop subscription. |
| Дата | |
| Msg-id | 174846365177.780.12843663746002009140@wrigleys.postgresql.org обсуждение |
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера