mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Another gin_desc fix.
The number of items inserted was incorrectly printed as if it was a boolean.
This commit is contained in:
parent
97c19e6c38
commit
2fe69cacff
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user