Re: Non-reserved replication slots and slot advancing

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Non-reserved replication slots and slot advancing
Дата
Msg-id 20180710075907.GK1661@paquier.xyz
обсуждение исходный текст
Ответ на Re: Non-reserved replication slots and slot advancing  (Andres Freund <andres@anarazel.de>)
Ответы Re: Non-reserved replication slots and slot advancing  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Tue, Jul 10, 2018 at 12:26:30AM -0700, Andres Freund wrote:
> Why is the ReplicationSlotRelease() needed here? Souldn't the error
> handling code do so automatically?

Oh, indeed.  I didn't know that PostgresMain was doing some cleanup
here.  There is a second place where this can be removed, which comes
from the original commit which added the advance function.  An updated
version is attached.  Do you have other comments?
--
Michael

Вложения

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

Предыдущее
От: 杨杰
Дата:
Сообщение: user-friendliness improvement of pageinspect
Следующее
От: "Iwata, Aya"
Дата:
Сообщение: RE: hostorder and failover_timeout for libpq