Re: DROP SUBSCRIPTION with no slot

Поиск
Список
Период
Сортировка
От Žiga Kranjec
Тема Re: DROP SUBSCRIPTION with no slot
Дата
Msg-id 648FD1C0-8D88-4693-A496-D0FC3DF6EFD0@ljudmila.org
обсуждение исходный текст
Ответ на Re: DROP SUBSCRIPTION with no slot  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: DROP SUBSCRIPTION with no slot  (Isaac Morland <isaac.morland@gmail.com>)
Список pgsql-hackers
On 25 Sep 2019, at 01:22, Jeff Janes <jeff.janes@gmail.com> wrote:

There is no HINT in the error message itself, but there is in the documentation, see note at end of https://www.postgresql.org/docs/current/sql-dropsubscription.html.  I agree with you that the DROP should just work in this case, even more so than in my case.  But if we go with the argument that doing that is too error prone, then do we want to include a HINT on how to be error prone more conveniently?

Cheers,

Jeff

Ah. I missed that bit in the documentation!

Perhaps a publication should remember, whether it actually created a replication slot and only try to remove it, if it did. Although that probably wouldn't help much in your case.


Ž.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Two pg_rewind patches (auto generate recovery conf and ensureclean shutdown)
Следующее
От: Isaac Morland
Дата:
Сообщение: Re: DROP SUBSCRIPTION with no slot