Thread: pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of

pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.29&r2=1.30)