summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-11-13 10:43:35 +0530
committerAmit Kapila <akapila@postgresql.org>2018-11-13 10:43:35 +0530
commit1a8bde490c982cbdd9d174e72d42f6042e9bf4ee (patch)
treeb090ea3754b44cbeb7998de3608bfb76ef2fbd79 /src/tutorial/funcs_new.c
parentfe66fc6f94221c5d884b63902b8d48ad87aba5e6 (diff)
Fix the initialization of atomic variable introduced by the
group clearing mechanism. Commit 0e141c0fbb introduced initialization of atomic variable in InitProcess which means that it's not safe to look at it for backends that aren't currently in use. Fix that by initializing the same 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/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions