Content-Length: 270041 | pFad | http://github.com/postgrespro/postgres/commit/d7897abf9e0071946e9e4e8efd2d4463607c04de

64 pageinspect: Make page deletion elog less chatty. · postgrespro/postgres@d7897ab · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d7897abf9e0071946e9e4e8efd2d4463607c04de

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy