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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of
Date: 2007-09-05 21:11:19
Message-ID: 20070905211119.15C78754201@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-09-05 21:58:47 pgsql: Done: < * Reduce XID consumption of read-only queries < <
Previous Message Tom Lane 2007-09-05 20:53:17 pgsql: Quick hack to make the VXID of a prepared transaction be -1/XID,