Commit 55934416 authored by Peter Geoghegan's avatar Peter Geoghegan

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.
parent 4d5b4483
...@@ -125,12 +125,12 @@ GetBTPageStatistics(BlockNumber blkno, Buffer buffer, BTPageStat *stat) ...@@ -125,12 +125,12 @@ GetBTPageStatistics(BlockNumber blkno, Buffer buffer, BTPageStat *stat)
{ {
FullTransactionId safexid = BTPageGetDeleteXid(page); 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), blkno, EpochFromFullTransactionId(safexid),
XidFromFullTransactionId(safexid)); XidFromFullTransactionId(safexid));
} }
else 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); blkno, opaque->btpo_level);
/* Don't interpret BTDeletedPageData as index tuples */ /* Don't interpret BTDeletedPageData as index tuples */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment