postgresql/src
Tom Lane 1b630751d0 Fix some more bugs in GIN's WAL replay logic.
In commit 4016bdef8a I fixed a bunch of
ginxlog.c bugs having to do with not handling XLogReadBuffer failures
correctly.  However, in ginRedoUpdateMetapage and ginRedoDeleteListPages,
I unaccountably thought that failure to read the metapage would be
impossible and just put in an elog(PANIC) call.  This is of course wrong:
failure is exactly what will happen if the index got dropped (or rebuilt)
between creation of the WAL record and the crash we're trying to recover
from.  I believe this explains Nicholas Wilson's recent report of these
errors getting reached.

Also, fix memory leak in forgetIncompleteSplit.  This wasn't of much
concern when the code was written, but in a long-running standby server
page split records could be expected to accumulate indefinitely.

Back-patch to 8.4 --- before that, GIN didn't have a metapage.
2012-02-26 15:12:17 -05:00
..
backend Fix some more bugs in GIN's WAL replay logic. 2012-02-26 15:12:17 -05:00
bin Add some enumeration commas, for consistency 2012-02-24 11:04:45 +02:00
include Remove useless const qualifier 2012-02-26 15:22:27 +02:00
interfaces Remove arbitrary limitation on length of common name in SSL certificates. 2012-02-23 15:48:04 -05:00
makefiles Add pg_upgrade test suite 2011-11-27 22:42:32 +02:00
pl Fix I/O-conversion-related memory leaks in plpgsql. 2012-02-11 18:06:24 -05:00
port Speed up in-memory tuplesorting. 2012-02-15 12:13:32 -05:00
template
test Add some enumeration commas, for consistency 2012-02-24 11:04:45 +02:00
timezone Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tools Mention original ctags option name. 2012-02-24 16:19:18 -05:00
tutorial Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
.gitignore
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in ecpg: Improve test building 2012-02-02 20:33:29 +02:00
Makefile.shlib
nls-global.mk Sort compendium lists for msgmerge 2011-12-27 20:22:51 +02:00
win32.mak