diff options
| author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
| commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
| tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/include/storage/bufmgr.h | |
| parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) | |
| download | postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz | |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/include/storage/bufmgr.h')
| -rw-r--r-- | src/include/storage/bufmgr.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index fc239caeed..c0ec42ddb8 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: bufmgr.h,v 1.10 1997/03/28 07:06:53 scrappy Exp $ + * $Id: bufmgr.h,v 1.11 1997/08/19 21:39:45 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -74,12 +74,7 @@ extern int ShowPinTrace; extern Buffer RelationGetBufferWithBuffer(Relation relation, BlockNumber blockNumber, Buffer buffer); extern Buffer ReadBuffer(Relation reln, BlockNumber blockNum); -extern Buffer ReadBuffer_Debug(char *file, int line, Relation reln, - BlockNumber blockNum); extern int WriteBuffer(Buffer buffer); -extern void WriteBuffer_Debug(char *file, int line, Buffer buffer); -extern void DirtyBufferCopy(Oid dbid, Oid relid, BlockNumber blkno, - char *dest); extern int WriteNoReleaseBuffer(Buffer buffer); extern Buffer ReleaseAndReadBuffer(Buffer buffer, Relation relation, BlockNumber blockNum); @@ -100,17 +95,9 @@ extern void DropBuffers(Oid dbid); extern void PrintBufferDescs(void); extern void PrintPinnedBufs(void); extern int BufferShmemSize(void); -extern void BufferPoolBlowaway(void); extern void IncrBufferRefCount(Buffer buffer); extern int ReleaseBuffer(Buffer buffer); -extern void IncrBufferRefCount_Debug(char *file, int line, Buffer buffer); -extern void ReleaseBuffer_Debug(char *file, int line, Buffer buffer); -extern int ReleaseAndReadBuffer_Debug(char *file, - int line, - Buffer buffer, - Relation relation, - BlockNumber blockNum); extern void BufferRefCountReset(int *refcountsave); extern void BufferRefCountRestore(int *refcountsave); extern int SetBufferWriteMode (int mode); |
