• Tom Lane's avatar
    Do all accesses to shared buffer headers through volatile-qualified · 07eeb9d1
    Tom Lane authored
    pointers, to ensure that compilers won't rearrange accesses to occur
    while we're not holding the buffer header spinlock.  It's probably
    not necessary to mark volatile in every single place in bufmgr.c,
    but better safe than sorry.  Per trouble report from Kevin Grittner.
    07eeb9d1
pg_buffercache_pages.c 5.97 KB