pgsql: Make oldSnapshotControl a pointer to a volatile structure
pgsql: Make oldSnapshotControl a pointer to a volatile structure
От:
Kevin Grittner <kgrittn@postgresql.org>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/80647bf65a03e232c995c0826ef394dad8d685fe Modified Files -------------- src/backend/utils/time/snapmgr.c | 8 +++----- src/tools/pgindent/typedefs.list | 1 + 2 files changed, 4 insertions(+), 5 deletions(-)