Skip to content

Commit 609a63f

Browse files
committed
Improve printing of XLOG_HEAP_NEWPAGE records to include the forknum.
1 parent e55e6ec commit 609a63f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/access/heap/heapam.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.290 2010/05/02 22:28:05 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.291 2010/05/02 22:37:43 tgl Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -4897,9 +4897,10 @@ heap_desc(StringInfo buf, uint8 xl_info, char *rec)
48974897
{
48984898
xl_heap_newpage *xlrec = (xl_heap_newpage *) rec;
48994899

4900-
appendStringInfo(buf, "newpage: rel %u/%u/%u; blk %u",
4900+
appendStringInfo(buf, "newpage: rel %u/%u/%u; fork %u, blk %u",
49014901
xlrec->node.spcNode, xlrec->node.dbNode,
4902-
xlrec->node.relNode, xlrec->blkno);
4902+
xlrec->node.relNode, xlrec->forknum,
4903+
xlrec->blkno);
49034904
}
49044905
else if (info == XLOG_HEAP_LOCK)
49054906
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy