summaryrefslogtreecommitdiff
path: root/src/include/storage/bufmgr.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-06-15 19:59:59 +0000
committerBruce Momjian <bruce@momjian.us>2002-06-15 19:59:59 +0000
commit6e8a1a6717956eb86113fb73f2bc3d0a22c542c6 (patch)
tree9db1fc2ed46c93c6724cc4fe0e93c6745263852e /src/include/storage/bufmgr.h
parent82b14b62ca1bd4fcc80b54b269c63475a1560339 (diff)
downloadpostgresql-6e8a1a6717956eb86113fb73f2bc3d0a22c542c6.tar.gz
WriteBuffer return value:
>I'd vote for changing WriteBuffer to >return void, and have it elog() on bad argument. Manfred Koizar
Diffstat (limited to 'src/include/storage/bufmgr.h')
-rw-r--r--src/include/storage/bufmgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 6069814edb..d1fd92658a 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: bufmgr.h,v 1.58 2002/04/15 23:47:12 momjian Exp $
+ * $Id: bufmgr.h,v 1.59 2002/06/15 19:59:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -148,8 +148,8 @@ extern long *LocalRefCount;
*/
extern Buffer ReadBuffer(Relation reln, BlockNumber blockNum);
extern int ReleaseBuffer(Buffer buffer);
-extern int WriteBuffer(Buffer buffer);
-extern int WriteNoReleaseBuffer(Buffer buffer);
+extern void WriteBuffer(Buffer buffer);
+extern void WriteNoReleaseBuffer(Buffer buffer);
extern Buffer ReleaseAndReadBuffer(Buffer buffer, Relation relation,
BlockNumber blockNum);
extern int FlushBuffer(Buffer buffer, bool sync, bool release);