Minor code cleanup in bufmgr.c and bufmgr.h, mainly by moving repeated
Bruce Momjian <bruce@momjian.us>
Minor code cleanup in bufmgr.c and bufmgr.h, mainly by moving repeated lines of code into internal routines (drop_relfilenode_buffers, release_buffer) and by hiding unused routines (PrintBufferDescs, PrintPinnedBufs) behind #ifdef NOT_USED. Remove AbortBufferIO() declaration from bufmgr.c (already declared in bufmgr.h) Manfred Koizar
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/bufmgr.c | modified | +67 −118 |
| src/include/storage/bufmgr.h | modified | +3 −1 |