]> granicus.if.org Git - postgresql/blobdiff - src/include/storage/buf.h
Phase 2 of pgindent updates.
[postgresql] / src / include / storage / buf.h
index 4d767b808fc68ee99452f8259eabdb164743652d..054f482bd779c4cf80f6956ef3874b80db6b4838 100644 (file)
@@ -4,10 +4,10 @@
  *       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
  *
  *-------------------------------------------------------------------------
  */
@@ -32,15 +32,15 @@ typedef int Buffer;
 
 /*
  * 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 */