git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e55e6ec)
Improve printing of XLOG_HEAP_NEWPAGE records to include the forknum.
Sun, 2 May 2010 22:37:43 +0000 (22:37 +0000)
Sun, 2 May 2010 22:37:43 +0000 (22:37 +0000)

diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 78a3f2738c59798f746534b2677f28cbfea8a8e5..4b51ba948cbd5e919814b44b59910df47b0a16a6 100644 (file)
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.290 2010年05月02日 22:28:05 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/heap/heapam.c,v 1.291 2010年05月02日 22:37:43 tgl Exp $
*
*
* INTERFACE ROUTINES
@@ -4897,9 +4897,10 @@ heap_desc(StringInfo buf, uint8 xl_info, char *rec)
{
xl_heap_newpage *xlrec = (xl_heap_newpage *) rec;
- appendStringInfo(buf, "newpage: rel %u/%u/%u; blk %u",
+ appendStringInfo(buf, "newpage: rel %u/%u/%u; fork %u, blk %u",
xlrec->node.spcNode, xlrec->node.dbNode,
- xlrec->node.relNode, xlrec->blkno);
+ xlrec->node.relNode, xlrec->forknum,
+ xlrec->blkno);
}
else if (info == XLOG_HEAP_LOCK)
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /