-
- Downloads
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.
Showing
- doc/src/sgml/runtime.sgml 20 additions, 2 deletionsdoc/src/sgml/runtime.sgml
- src/backend/storage/buffer/bufmgr.c 20 additions, 1 deletionsrc/backend/storage/buffer/bufmgr.c
- src/backend/storage/page/bufpage.c 46 additions, 3 deletionssrc/backend/storage/page/bufpage.c
- src/backend/utils/misc/guc.c 5 additions, 1 deletionsrc/backend/utils/misc/guc.c
- src/backend/utils/misc/postgresql.conf.sample 1 addition, 1 deletionsrc/backend/utils/misc/postgresql.conf.sample
- src/include/storage/bufmgr.h 4 additions, 1 deletionsrc/include/storage/bufmgr.h
- src/include/storage/bufpage.h 8 additions, 39 deletionssrc/include/storage/bufpage.h
- src/include/storage/page.h 0 additions, 25 deletionssrc/include/storage/page.h
Loading
Please register or sign in to comment