Do all accesses to shared buffer headers through volatile-qualified

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 07eeb9d109c057854b20707562ce517efa591761
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-12T16:45:14Z
Releases: 8.1.0
Do all accesses to shared buffer headers through volatile-qualified
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.

Files