* Basic buffer manager data types.
*
*
- * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: buf.h,v 1.10 2001/10/25 05:50:09 momjian Exp $
+ * src/include/storage/buf.h
*
*-------------------------------------------------------------------------
*/
/*
* BufferIsLocal
- * True iff the buffer is local (not visible to other servers).
+ * True iff the buffer is local (not visible to other backends).
*/
#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
+ * Buffer access strategy objects.
+ *
+ * BufferAccessStrategyData is private to freelist.c
*/
-#undef NO_BUFFERISVALID
-#endif /* BUF_H */
+typedef struct BufferAccessStrategyData *BufferAccessStrategy;
+
+#endif /* BUF_H */