Re: Accidental setting of XLogReaderState.private_data ?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Accidental setting of XLogReaderState.private_data ?
Дата
Msg-id 20190416061300.GH2673@paquier.xyz
обсуждение исходный текст
Ответ на Re: Accidental setting of XLogReaderState.private_data ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Apr 15, 2019 at 11:06:18AM -0400, Tom Lane wrote:
> Hmm.  The second, duplicate assignment is surely pointless, but I think
> that setting the ctx as the private_data is a good idea.  It hardly seems
> out of the question that it might be needed in future.

Agreed that we should keep the assignment done with
XLogReaderAllocate().  I have committed the patch which removes the
useless assignment though.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Autovacuum-induced regression test instability
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: REINDEX CONCURRENTLY 2.0