Re: min_safe_lsn column in pg_replication_slots view

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: min_safe_lsn column in pg_replication_slots view
Дата
Msg-id 20200714.133809.1303714501242829538.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: min_safe_lsn column in pg_replication_slots view  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
At Mon, 13 Jul 2020 13:52:12 -0400, Alvaro Herrera <alvherre@2ndquadrant.com> wrote in 
> On 2020-Jul-13, Alvaro Herrera wrote:
> 
> > A much more sensible answer is to initialize the segno to the segment
> > currently being written, as in the attached.
> 
> Ran the valgrind test locally and it passes.  Pushed it now.

-    if (XLogRecPtrIsInvalid(*logSegNo) || segno < *logSegNo)
+    if (segno < *logSegNo)

Oops! Thank you for fixing it!

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: GSSENC'ed connection stalls while reconnection attempts.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Fix header identification