Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines

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

Commit: 0ecb4ea773773145ea8ba6df824e59929596dbd9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-09-05T21:11:19Z
Releases: 8.3.0
Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines
that examine fields that could change under them.  This is just to make
really sure that when we are fetching a value 'only once', that's what
actually happens.  Possibly this is a bug that should be back-patched,
but in the absence of solid evidence that it's needed, I won't bother.

Files

PathChange+/−
src/backend/storage/ipc/procarray.c modified +14 −14