Skip to content

Commit d7897ab

Browse files
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 e5d8a99, 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.
1 parent a21049f commit d7897ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pageinspect/btreefuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ GetBTPageStatistics(BlockNumber blkno, Buffer buffer, BTPageStat *stat)
125125
{
126126
FullTransactionId safexid = BTPageGetDeleteXid(page);
127127

128-
elog(NOTICE, "deleted page from block %u has safexid %u:%u",
128+
elog(DEBUG2, "deleted page from block %u has safexid %u:%u",
129129
blkno, EpochFromFullTransactionId(safexid),
130130
XidFromFullTransactionId(safexid));
131131
}
132132
else
133-
elog(NOTICE, "deleted page from block %u has safexid %u",
133+
elog(DEBUG2, "deleted page from block %u has safexid %u",
134134
blkno, opaque->btpo_level);
135135

136136
/* Don't interpret BTDeletedPageData as index tuples */

0 commit comments

Comments
 (0)