Reading from replication slot fails if publication is dropped and created.

Поиск
Список
Период
Сортировка
От G Chandrasekar
Тема Reading from replication slot fails if publication is dropped and created.
Дата
Msg-id 1058362846.740040.1670483581746@mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hi,
  Have a scenario, where the publication was accidentely deleted and eventhough the publication was re-created, trying to read data from the replication slot fails with the following error message.

"ERROR: publication \"dbz_publication\" does not exist\n  Where: slot \"s20d07aebf4204109872de556b66b0afb\", output plugin \"pgoutput\", in the change callback, associated LSN 3D/717714F0"

Aware that the publication would have to be created first and then the replication slow should follow. Is there any way to have the system working without having to delete the replication slot and re-create all over? i.e create publication and set the appropriate references ?

Note; Restarted the db instance after re-creating the publication (presume some internal model assocating the publication -> tables -> replication slot is broken).

Appreciate thought/suggestions.

Thanks.

В списке pgsql-general по дате отправления:

Предыдущее
От: higherone
Дата:
Сообщение: Is there a way to know write statistics on an individual index
Следующее
От: David Rowley
Дата:
Сообщение: Re: Is there a way to know write statistics on an individual index