1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

The patch I sent to -patches a little while ago wasn't applied: it

was in the thread "make BufferGetBlockNumber() a macro". Tom
objected to the original patch, so I prepared a new one which
doesn't change BufferGetBlockNumber() into a macro, it just
cleans up some comments and fixes an assertion. The patch
is attached.

Neil Conway
This commit is contained in:
Bruce Momjian
2002-04-15 23:47:12 +00:00
parent 33d1bb76c6
commit 171824087c
3 changed files with 4 additions and 20 deletions

View File

@@ -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.h,v 1.12 2001/11/05 17:46:35 momjian Exp $
* $Id: buf.h,v 1.13 2002/04/15 23:47:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -36,12 +36,4 @@ typedef int Buffer;
*/
#define BufferIsLocal(buffer) ((buffer) < 0)
/*
* If NO_BUFFERISVALID is defined, all error checking using BufferIsValid()
* are suppressed. Decision-making using BufferIsValid is not affected.
* This should be set only if one is sure there will be no errors.
* - plai 9/10/90
*/
#undef NO_BUFFERISVALID
#endif /* BUF_H */