Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit609a63f

Browse files
committed
Improve printing of XLOG_HEAP_NEWPAGE records to include the forknum.
1 parente55e6ec commit609a63f

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
elseif (info==XLOG_HEAP_LOCK)
49054906
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp