mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
pageinspect: Make page deletion elog less chatty.
An elog that reports the value of a transaction ID stored on a deleted nbtree page was added by commit e5d8a999, which taught page deletion to store full 64-bit XIDs. It seems very chatty on further reflection, so lower its elevel from NOTICE to DEBUG2. Author: Peter Geoghegan <pg@bowt.ie> Backpatch: 14-, just like the nbtree XID enhancement.
This commit is contained in:
parent
4d5b4483db
commit
55934416d2
@ -125,12 +125,12 @@ GetBTPageStatistics(BlockNumber blkno, Buffer buffer, BTPageStat *stat)
|
||||
{
|
||||
FullTransactionId safexid = BTPageGetDeleteXid(page);
|
||||
|
||||
elog(NOTICE, "deleted page from block %u has safexid %u:%u",
|
||||
elog(DEBUG2, "deleted page from block %u has safexid %u:%u",
|
||||
blkno, EpochFromFullTransactionId(safexid),
|
||||
XidFromFullTransactionId(safexid));
|
||||
}
|
||||
else
|
||||
elog(NOTICE, "deleted page from block %u has safexid %u",
|
||||
elog(DEBUG2, "deleted page from block %u has safexid %u",
|
||||
blkno, opaque->btpo_level);
|
||||
|
||||
/* Don't interpret BTDeletedPageData as index tuples */
|
||||
|
Loading…
x
Reference in New Issue
Block a user