pgsql: Fix the initialization of atomic variables introduced by the

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Fix the initialization of atomic variables introduced by the
Дата
Msg-id E1gMRRX-0000Jr-Ge@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix the initialization of atomic variables introduced by the
group clearing mechanism.

Commits 0e141c0fbb and baaf272ac9 introduced initialization of atomic
variables in InitProcess which means that it's not safe to look at those
for backends that aren't currently in use.  Fix that by initializing them
during postmaster startup.

Reported-by: Andres Freund
Author: Amit Kapila
Backpatch-through: 9.6
Discussion: https://postgr.es/m/20181027104138.qmbbelopvy7cw2qv@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a53bc135fb07d600869917661d65f45506165c00

Modified Files
--------------
src/backend/storage/lmgr/proc.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.