Re: [HACKERS] replication_slot_catalog_xmin not explicitlyinitialized when creating procArray

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Re: [HACKERS] replication_slot_catalog_xmin not explicitlyinitialized when creating procArray
Дата
Msg-id CAD21AoBjsyxUKpkBWaePnHKzPHQNKGrw3eE2TAm6-_su_vHTcw@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] replication_slot_catalog_xmin not explicitly initialized whencreating procArray  ("Wong, Yi Wen" <yiwong@amazon.com>)
Ответы Re: [HACKERS] replication_slot_catalog_xmin not explicitlyinitialized when creating procArray  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Sat, Jul 8, 2017 at 2:19 AM, Wong, Yi Wen <yiwong@amazon.com> wrote:
> Hi,
>
>
> replication_slot_catalog_xmin is not explictly initialized to
> InvalidTransactionId.
>
>
> Normally, there isn't an issue with this because a freshly mmap'd memory is
> zeroed, and the value of InvalidTransactionId is 0.
>
> If the memory was not 0 for whatever reason, VACUUM would not behave as
> expected.
>
>
> See attached patch.
>

Thank you for the patch. This change makes sense to me.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Authentification method on client side checking
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] pg_receivewal and messages printed in non-verbose mode