postgresql/src/backend/access/transam
Tom Lane d3fc362ec2 Ensure that all direct uses of spinlock-protected data structures use
'volatile' pointers to access those structures, so that optimizing
compilers will not decide to move the structure accesses outside of the
spinlock-acquire-to-spinlock-release sequence.  There are no known bugs
in these uses at present, but based on bad experience with lwlock.c,
it seems prudent to ensure that we protect these other uses too.
Per pghackers discussion around 12-Dec.  (Note: it should not be
necessary to worry about structures protected by LWLocks, since the
LWLock acquire and release operations are not inline macros.)
2001-12-28 18:16:43 +00:00
..
Makefile Replace implementation of pg_log as a relation accessed through the 2001-08-25 18:52:43 +00:00
clog.c Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
rmgr.c Replace implementation of pg_log as a relation accessed through the 2001-08-25 18:52:43 +00:00
transam.c New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
varsup.c Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
xact.c Add missing #include. 2001-11-01 06:17:01 +00:00
xid.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00
xlog.c Ensure that all direct uses of spinlock-protected data structures use 2001-12-28 18:16:43 +00:00
xlogutils.c pgindent run on all C files. Java run to follow. initdb/regression 2001-10-25 05:50:21 +00:00