X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;ds=sidebyside;f=src%2Finclude%2Fstorage%2Fbuf.h;h=054f482bd779c4cf80f6956ef3874b80db6b4838;hb=c7b8998ebbf310a156aa38022555a24d98fdbfb4;hp=4d767b808fc68ee99452f8259eabdb164743652d;hpb=b81844b1738c584d92330a5ccd0fbd8b603d2886;p=postgresql diff --git a/src/include/storage/buf.h b/src/include/storage/buf.h index 4d767b808f..054f482bd7 100644 --- a/src/include/storage/buf.h +++ b/src/include/storage/buf.h @@ -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 */