diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-04 00:32:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-04 00:32:57 +0000 |
commit | 8fe728b0094e8364e82b4a58c92265c00f4a2d1b (patch) | |
tree | f9257ea3c0961f7ea7e4589c309f30a0012db020 /src/include/storage/bufmgr.h | |
parent | a880697f097b26c196d3e0cd079a03821deac95b (diff) |
Back-patch changes to validate page header fields immediately after
reading in any page. Also back-port the zero_damaged_pages boolean
that determines what to do about it.
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r-- | src/include/storage/bufmgr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index 5fcc354849d..c2f970c0b6c 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: bufmgr.h,v 1.66 2002/10/22 20:00:48 petere Exp $ + * $Id: bufmgr.h,v 1.66.2.1 2003/04/04 00:32:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -25,6 +25,9 @@ typedef void *Block; /* in globals.c ... this duplicates miscadmin.h */ extern DLLIMPORT int NBuffers; +/* in bufmgr.c */ +extern bool zero_damaged_pages; + /* in buf_init.c */ extern DLLIMPORT Block *BufferBlockPointers; extern long *PrivateRefCount; |