Re: pg_basebackup and replication slots

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pg_basebackup and replication slots
Дата
Msg-id 20150729104353.GB10043@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pg_basebackup and replication slots  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: pg_basebackup and replication slots  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 2015-07-29 09:17:04 +0100, Simon Riggs wrote:
> On 29 July 2015 at 09:09, Andres Freund <andres@anarazel.de> wrote:
> > The point of using a temporary slot is to not have a
> > leftover slot afterwards, reserving resources. Especially important if
> > the basebackup actually failed...
> >
> 
> Creating a slot and then deleting it if the session disconnects does not
> successfully provide the functionality desired above.

Uh? If you create the slot, start streaming, and then start the
basebackup, it does. It does *not* guarantee that the base backup can be
converted into a replica, but it's sufficient to guarantee it can
brought out of recovery.



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Don'st start streaming after creating a slot in pg_receivexlog
Следующее
От: "Shulgin, Oleksandr"
Дата:
Сообщение: Re: [PATCH] Generalized JSON output functions