]> granicus.if.org Git - postgresql/commit
Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 Sep 2007 21:11:19 +0000 (21:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 Sep 2007 21:11:19 +0000 (21:11 +0000)
commit0ecb4ea773773145ea8ba6df824e59929596dbd9
tree4bd1eef833a64889ae8d123e9fe5b96571a557c0
parent4bf2dfb9a26a9d6f97b8d54e939d2bf02c4d99a1
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.
src/backend/storage/ipc/procarray.c