aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-05 23:40:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-05 23:40:38 +0000
commitbefd4e4e482e5d2f02ac930bba4336478a5e685c (patch)
tree1118aa08c04f8a08694e7e450fcd464ecb098a77 /src/tutorial/basics.source
parent23092b992819855d3ffa14a3cf4ca4cdbb0c27a7 (diff)
downloadpostgresql-befd4e4e482e5d2f02ac930bba4336478a5e685c.tar.gz
postgresql-befd4e4e482e5d2f02ac930bba4336478a5e685c.zip
Fix recently-identified PITR recovery hazard: the base backup could contain
stale relcache init files (pg_internal.init), and there is no mechanism for updating them during WAL replay. Easiest solution is just to delete the init files at conclusion of startup, and let the first backend started in each database take care of rebuilding the init file. Simon Riggs and Tom Lane. Back-patched to 8.1. Arguably this should be fixed in 8.0 too, but it would require significantly more code since 8.0 has no handy startup-time scan of pg_database to piggyback on. Manual solution of the problem is possible in 8.0 (just delete the pg_internal.init files before starting WAL replay), so that may be a sufficient answer.
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions