Re: pg13: xlogreader API adjust

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pg13: xlogreader API adjust
Дата
Msg-id 20200515111858.GB212736@paquier.xyz
обсуждение исходный текст
Ответ на Re: pg13: xlogreader API adjust  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: pg13: xlogreader API adjust  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Thu, May 14, 2020 at 02:12:25PM +0900, Kyotaro Horiguchi wrote:
> Good catch!  That's not only for CreateDecodingContet. That happens
> everywhere in the query loop in PostgresMain() until logreader is
> initialized.  So that also happens, for example, by starting logical
> replication using invalidated slot. Checking xlogreader != NULL in
> WalSndErrorCleanup is sufficient.  It doesn't make actual difference,
> but the attached explicitly initialize the pointer with NULL.

Alvaro, are you planning to look at that?  Should we have an open item
for this matter?
--
Michael

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions
Следующее
От: Euler Taveira
Дата:
Сообщение: Re: Problem with logical replication