• Robert Haas's avatar
    Mark FastPathStrongRelationLocks volatile. · 4bc15a8b
    Robert Haas authored
    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.
    4bc15a8b
lock.c 121 KB