Rearrange bufmgr header files so that buf_internals.h need not be
Tom Lane <tgl@sss.pgh.pa.us>
Rearrange bufmgr header files so that buf_internals.h need not be included by everything that includes bufmgr.h --- it's supposed to be internals, after all, not part of the API! This fixes the conflict against FreeBSD headers reported by Rosenman, by making it unnecessary for s_lock.h to be included by plperl.c.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/hash/hashpage.c | modified | +2 −1 |
| src/backend/access/nbtree/nbtpage.c | modified | +5 −3 |
| src/backend/storage/buffer/buf_init.c | modified | +19 −10 |
| src/backend/storage/buffer/bufmgr.c | modified | +3 −1 |
| src/backend/storage/buffer/buf_table.c | modified | +2 −1 |
| src/backend/storage/buffer/freelist.c | modified | +3 −1 |
| src/backend/storage/buffer/localbuf.c | modified | +20 −10 |
| src/backend/storage/buffer/xlog_bufmgr.c | modified | +6 −3 |
| src/backend/storage/buffer/xlog_localbuf.c | modified | +24 −14 |
| src/backend/storage/ipc/ipci.c | modified | +2 −1 |
| src/backend/storage/lmgr/lmgr.c | modified | +2 −1 |
| src/include/storage/buf_internals.h | modified | +8 −14 |
| src/include/storage/bufmgr.h | modified | +29 −14 |