postgresql/src/backend/access
Tom Lane 763f868710 Work around gcc 4.6.0 bug that breaks WAL replay.
ReadRecord's habit of using both direct references to tmpRecPtr and
references to *RecPtr (which is pointing at tmpRecPtr) triggers an
optimization bug in gcc 4.6.0, which apparently has forgotten about
aliasing rules.  Avoid the compiler bug, and make the code more readable
to boot, by getting rid of the direct references.  Improve the comments
while at it.

Back-patch to all supported versions, in case they get built with 4.6.0.

Tom Lane, with some cosmetic suggestions from Alex Hunsaker
2011-06-10 17:03:16 -04:00
..
common Lobotomize typmod check in convert_tuples_by_position, back branches only. 2011-05-23 14:42:24 -04:00
gin Fix assorted bugs in GIN's WAL replay logic. 2010-10-11 19:04:53 -04:00
gist Protect GIST logic that assumes penalty values can't be negative. 2011-05-31 17:54:01 -04:00
hash Dept of second thoughts: after studying index_getnext() a bit more I realize 2009-11-01 22:31:02 +00:00
heap In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate the tuple 2010-11-09 17:48:43 +02:00
index 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
nbtree Reduce PANIC to ERROR in some occasionally-reported btree failure cases. 2010-08-29 19:33:29 +00:00
transam Work around gcc 4.6.0 bug that breaks WAL replay. 2011-06-10 17:03:16 -04:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00