summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/sqlda.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-11-13 10:36:59 +0530
committerAmit Kapila <akapila@postgresql.org>2018-11-13 10:36:59 +0530
commitd1a2fa3d9901c1e8f6bba1cecbb4ecdd64f4849e (patch)
treec321e662517f949c00ced245c307c62599ffe241 /src/interfaces/ecpg/ecpglib/sqlda.c
parent5574a0181962195f355863940f1c010f8e9875f6 (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/interfaces/ecpg/ecpglib/sqlda.c')
0 files changed, 0 insertions, 0 deletions