mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Remove PrintBufferDescs() and PrintPinnedBufs().
These have been #ifdef'd out for a long time, and in fact have
been uncompilable since commit 48354581a of 2016-04-10. The
fact that nobody noticed for so long demonstrates their lack of
usefulness, so let's remove them rather than fix them.
Author: Jacob Brazeal <jacob.brazeal@gmail.com>
Discussion: https://postgr.es/m/CA+COZaB+9CN_f63PPRoVhHjYmCwwmb_9CWLxqCJdMWDqs1a-JA@mail.gmail.com
This commit is contained in:
@@ -275,10 +275,6 @@ extern void DropDatabaseBuffers(Oid dbid);
|
||||
|
||||
extern bool BufferIsPermanent(Buffer buffer);
|
||||
extern XLogRecPtr BufferGetLSNAtomic(Buffer buffer);
|
||||
|
||||
#ifdef NOT_USED
|
||||
extern void PrintPinnedBufs(void);
|
||||
#endif
|
||||
extern void BufferGetTag(Buffer buffer, RelFileLocator *rlocator,
|
||||
ForkNumber *forknum, BlockNumber *blknum);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user