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

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Volatile-qualify the ProcArray PGPROC pointer in a bunch of
Date
Msg-id 20070905211119.15C78754201@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Quick hack to make the VXID of a prepared transaction be -1/XID,
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Done: < * Reduce XID consumption of read-only queries < <