]> granicus.if.org Git - postgresql/commit
Add code to apply some simple sanity checks to the header fields of a
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Mar 2003 20:17:13 +0000 (20:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 Mar 2003 20:17:13 +0000 (20:17 +0000)
commitfd42262836be6c3fdf77cc0c774964f04acdc913
treef45034cde07c773e6cf56621ba0f8b7933c40bfb
parentbb3c00ee28721258d5d74c7827663a828b9387ae
Add code to apply some simple sanity checks to the header fields of a
page when it's read in, per pghackers discussion around 17-Feb.  Add a
GUC variable zero_damaged_pages that causes the response to be a WARNING
followed by zeroing the page, rather than the normal ERROR; this is per
Hiroshi's suggestion that there needs to be a way to get at the data
in the rest of the table.
doc/src/sgml/runtime.sgml
src/backend/storage/buffer/bufmgr.c
src/backend/storage/page/bufpage.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/storage/bufmgr.h
src/include/storage/bufpage.h
src/include/storage/page.h [deleted file]