summaryrefslogtreecommitdiff
path: root/src/include/storage/bufmgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r--src/include/storage/bufmgr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 0a659624f8..e4e376e000 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: bufmgr.h,v 1.8 1997/01/14 05:36:15 vadim Exp $
+ * $Id: bufmgr.h,v 1.9 1997/01/16 07:53:27 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -63,6 +63,12 @@ typedef bits16 BufferLock;
extern int ShowPinTrace;
/*
+ * BufferWriteModes (settable via SetBufferWriteMode)
+ */
+#define BUFFER_FLUSH_WRITE 0 /* immediate write */
+#define BUFFER_LATE_WRITE 1 /* delayed write: mark as DIRTY */
+
+/*
* prototypes for functions in bufmgr.c
*/
extern Buffer RelationGetBufferWithBuffer(Relation relation,
@@ -107,6 +113,7 @@ extern int ReleaseAndReadBuffer_Debug(char *file,
BlockNumber blockNum);
extern void BufferRefCountReset(int *refcountsave);
extern void BufferRefCountRestore(int *refcountsave);
+extern int SetBufferWriteMode (int mode);
#endif /* !defined(BufMgrIncluded) */