diff options
author | Peter Geoghegan <pg@bowt.ie> | 2021-09-17 14:19:51 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2021-09-17 14:19:51 -0700 |
commit | d7897abf9e0071946e9e4e8efd2d4463607c04de (patch) | |
tree | 9f379290151a4500594ad9873e64828c57acd6f7 /contrib/pageinspect | |
parent | a21049fd3f64518c8a7227cf07c56f2543241db2 (diff) | |
download | postgresql-d7897abf9e0071946e9e4e8efd2d4463607c04de.tar.gz |
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.
Diffstat (limited to 'contrib/pageinspect')
-rw-r--r-- | contrib/pageinspect/btreefuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pageinspect/btreefuncs.c b/contrib/pageinspect/btreefuncs.c index b7725b572f..03debe336b 100644 --- a/contrib/pageinspect/btreefuncs.c +++ b/contrib/pageinspect/btreefuncs.c @@ -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 */ |