Re: A proposal to force-drop replication slots to make disabling async/sync standbys or logical replication faster in production environments

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: A proposal to force-drop replication slots to make disabling async/sync standbys or logical replication faster in production environments
Дата
Msg-id CALj2ACWOXOk+zXU_1QBb1KBCOU-0YUcXD+ejUG-3YeaX=dMiXQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: A proposal to force-drop replication slots to make disabling async/sync standbys or logical replication faster in production environments  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Jun 9, 2022 at 11:24 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> writes:
> > How about we provide a function to force-drop a replication slot?
>
> Isn't this akin to filing off the safety interlock on the loaded revolver
> you keep in your hip pocket?  IMO the entire point of replication slots
> is to not make it easy to lose data.

Agree. How about making the function superuser-only?

Regards,
Bharath Rupireddy.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Multi-Master Logical Replication
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: A proposal to force-drop replication slots to make disabling async/sync standbys or logical replication faster in production environments