Commit 2fe69cac authored by Heikki Linnakangas's avatar Heikki Linnakangas

Another gin_desc fix.

The number of items inserted was incorrectly printed as if it was a boolean.
parent 97c19e6c
...@@ -68,7 +68,7 @@ gin_desc(StringInfo buf, uint8 xl_info, char *rec) ...@@ -68,7 +68,7 @@ gin_desc(StringInfo buf, uint8 xl_info, char *rec)
(((ginxlogInsertEntry *) payload)->isDelete) ? 'T' : 'F'); (((ginxlogInsertEntry *) payload)->isDelete) ? 'T' : 'F');
else if (xlrec->flags & GIN_INSERT_ISLEAF) else if (xlrec->flags & GIN_INSERT_ISLEAF)
appendStringInfo(buf, " nitem: %u", appendStringInfo(buf, " nitem: %u",
(((ginxlogInsertDataLeaf *) payload)->nitem) ? 'T' : 'F'); (((ginxlogInsertDataLeaf *) payload)->nitem));
else else
appendStringInfo(buf, " pitem: %u-%u/%u", appendStringInfo(buf, " pitem: %u-%u/%u",
PostingItemGetBlockNumber((PostingItem *) payload), PostingItemGetBlockNumber((PostingItem *) payload),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment