[HACKERS] replication_slot_catalog_xmin not explicitly initialized whencreating procArray

Поиск
Список
Период
Сортировка
От Wong, Yi Wen
Тема [HACKERS] replication_slot_catalog_xmin not explicitly initialized whencreating procArray
Дата
Msg-id 1499447984689.7466@amazon.com
обсуждение исходный текст
Ответы Re: [HACKERS] replication_slot_catalog_xmin not explicitlyinitialized when creating procArray  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers

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.


Thanks,

Yi Wen

Вложения

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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [HACKERS] SCRAM auth and Pgpool-II
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] [WIP] Zipfian distribution in pgbench