diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-06-15 19:59:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-06-15 19:59:59 +0000 |
commit | 6e8a1a6717956eb86113fb73f2bc3d0a22c542c6 (patch) | |
tree | 9db1fc2ed46c93c6724cc4fe0e93c6745263852e /src/include/storage/buf_internals.h | |
parent | 82b14b62ca1bd4fcc80b54b269c63475a1560339 (diff) | |
download | postgresql-6e8a1a6717956eb86113fb73f2bc3d0a22c542c6.tar.gz postgresql-6e8a1a6717956eb86113fb73f2bc3d0a22c542c6.zip |
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/buf_internals.h')
-rw-r--r-- | src/include/storage/buf_internals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h index 192895b65f5..7cc4b9aed7b 100644 --- a/src/include/storage/buf_internals.h +++ b/src/include/storage/buf_internals.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: buf_internals.h,v 1.55 2002/06/15 19:55:38 momjian Exp $ + * $Id: buf_internals.h,v 1.56 2002/06/15 19:59:59 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -176,7 +176,7 @@ extern BufferDesc *LocalBufferDescriptors; extern BufferDesc *LocalBufferAlloc(Relation reln, BlockNumber blockNum, bool *foundPtr); -extern int WriteLocalBuffer(Buffer buffer, bool release); +extern void WriteLocalBuffer(Buffer buffer, bool release); extern int FlushLocalBuffer(Buffer buffer, bool sync, bool release); extern void LocalBufferSync(void); extern void ResetLocalBufferPool(void); |