aboutsummaryrefslogtreecommitdiff
path: root/contrib/intarray/_int_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-03-28 21:17:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-03-28 21:17:31 +0000
commit3c3ed28c75455ab18f5f7fb11262b9cb28c36f8c (patch)
tree1a8f187fe5c54dd870e31f1ed6e613658cd483cb /contrib/intarray/_int_gist.c
parentdf7b5f57346f263a735cddd0716445cfee83e5d1 (diff)
downloadpostgresql-3c3ed28c75455ab18f5f7fb11262b9cb28c36f8c.tar.gz
postgresql-3c3ed28c75455ab18f5f7fb11262b9cb28c36f8c.zip
Repair longstanding error in btree xlog replay: XLogReadBuffer should be
passed extend = true whenever we are reading a page we intend to reinitialize completely, even if we think the page "should exist". This is because it might indeed not exist, if the relation got truncated sometime after the current xlog record was made and before the crash we're trying to recover from. These two thinkos appear to explain both of the old bug reports discussed here: http://archives.postgresql.org/pgsql-hackers/2005-05/msg01369.php
Diffstat (limited to 'contrib/intarray/_int_gist.c')
0 files changed, 0 insertions, 0 deletions