aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-11-13 11:09:44 +0530
committerAmit Kapila <akapila@postgresql.org>2018-11-13 11:09:44 +0530
commitd4d9f21b64d4290cc6695bcd93a8e4c5fc16badf (patch)
treed1457e8991c4d4c9fb57fd61d4c2c6e2247dcf5b /src/backend/access/gist/gistxlog.c
parent6b6c64a96dea5492448aa98cf24eca9325e80371 (diff)
downloadpostgresql-d4d9f21b64d4290cc6695bcd93a8e4c5fc16badf.tar.gz
postgresql-d4d9f21b64d4290cc6695bcd93a8e4c5fc16badf.zip
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
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions