Re: pg_basebackup and replication slots

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_basebackup and replication slots
Дата
Msg-id 55B81FD9.7070606@gmx.net
обсуждение исходный текст
Ответ на Re: pg_basebackup and replication slots  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 7/22/15 12:43 AM, Michael Paquier wrote:
> OK, thanks for the updated versions. Those ones look good to me.

Committed, thanks.

> Now, do we plan to do something about the creation of a slot. I
> imagine that it would be useful if we could have --create-slot to
> create a slot when beginning a base backup and if-not-exists to
> control the error flow. There is already CreateReplicationSlot for
> this purpose in streamutils.c so most of the work is already done.
> Also, when a base backup fails for a reason or another, we should try
> to drop the slot in disconnect_and_exit() if it has been created by
> pg_basebackup. if if-not-exists is true and the slot already existed
> when beginning, we had better not dropping it perhaps...

I think it would be worthwhile to work on that, but in my mind it's a
separate feature, and I don't have any use for it, so I'm not going to
rush into it.





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

Предыдущее
От: Euler Taveira
Дата:
Сообщение: Re: TODO: replica information functions
Следующее
От: Qingqing Zhou
Дата:
Сообщение: Re: Planner debug views