diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-03-31 14:32:12 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-03-31 14:32:12 -0400 |
commit | 4bc15a8bfbc7856bc3426dc9ab99567eebbb64d3 (patch) | |
tree | ff70832de162c00c03e7a612a64a9700abd6a448 /src/backend/utils/adt/jsonb_gin.c | |
parent | 0f95b723eb207ca8fe2a0391b444db23b386617b (diff) | |
download | postgresql-4bc15a8bfbc7856bc3426dc9ab99567eebbb64d3.tar.gz postgresql-4bc15a8bfbc7856bc3426dc9ab99567eebbb64d3.zip |
Mark FastPathStrongRelationLocks volatile.
Otherwise, the compiler might decide to move modifications to data
within this structure outside the enclosing SpinLockAcquire /
SpinLockRelease pair, leading to shared memory corruption.
This may or may not explain a recent lmgr-related buildfarm failure
on prairiedog, but it needs to be fixed either way.
Diffstat (limited to 'src/backend/utils/adt/jsonb_gin.c')
0 files changed, 0 insertions, 0 deletions