aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-08-27 07:18:04 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-08-27 07:18:04 +0000
commit593810f3cd7d4a5b502712daceb6a4ef6178c3c0 (patch)
treea5a87a49cc74b4ab46f5588a6eca6ed56fe6241e /src/tutorial/funcs.source
parent95ac06c85b65e7b4eeb72e0cf9b60efe98131555 (diff)
downloadpostgresql-593810f3cd7d4a5b502712daceb6a4ef6178c3c0.tar.gz
postgresql-593810f3cd7d4a5b502712daceb6a4ef6178c3c0.zip
In the checkpoint written at the end of archive recovery, the WAL page header
was incorrectly initialized with timeline ID 0. That rendered the WAL page unrecoverable, making a subsequent archive recovery stop at that point. ThisTimeLineID needs to be initialized before calling AdvanceXLInsertBuffer(). This fixes bug #5011 reported by James Bardin. Backpatch to 8.4, as the bug was introduced by the changes to use of bgwriter for writing the end-of-archive-recovery checkpoint. Patch by Tom Lane.
Diffstat (limited to 'src/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions