]> granicus.if.org Git - postgresql/commit
Make oldSnapshotControl a pointer to a volatile structure
authorKevin Grittner <kgrittn@postgresql.org>
Mon, 11 Apr 2016 20:43:52 +0000 (15:43 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Mon, 11 Apr 2016 20:43:52 +0000 (15:43 -0500)
commit80647bf65a03e232c995c0826ef394dad8d685fe
tree4010561f977e3391ab3a630000ac2e390e47efde
parentd8ed83cd7fd1082f60a5b9897b62216f6b3e2587
Make oldSnapshotControl a pointer to a volatile structure

It was incorrectly declared as a volatile pointer to a non-volatile
structure.  Eliminate the OldSnapshotControl struct definition; it
is really not needed.  Pointed out by Tom Lane.

While at it, add OldSnapshotControlData to pgindent's list of
structures.
src/backend/utils/time/snapmgr.c
src/tools/pgindent/typedefs.list