Another gin_desc fix.

The number of items inserted was incorrectly printed as if it was a boolean.
pull/6/head
Heikki Linnakangas 12 years ago
parent 97c19e6c38
commit 2fe69cacff
  1. 2
      src/backend/access/rmgrdesc/gindesc.c

@ -68,7 +68,7 @@ gin_desc(StringInfo buf, uint8 xl_info, char *rec)
(((ginxlogInsertEntry *) payload)->isDelete) ? 'T' : 'F');
else if (xlrec->flags & GIN_INSERT_ISLEAF)
appendStringInfo(buf, " nitem: %u",
(((ginxlogInsertDataLeaf *) payload)->nitem) ? 'T' : 'F');
(((ginxlogInsertDataLeaf *) payload)->nitem));
else
appendStringInfo(buf, " pitem: %u-%u/%u",
PostingItemGetBlockNumber((PostingItem *) payload),

Loading…
Cancel
Save