Clarify nbtree posting list update desc issue.

Per complaint from Melanie Plageman.

Follow-up to commit 5d6728e5.

Reported-By: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/20230411002315.oyaicmcqrq2hb3ek@liskov
This commit is contained in:
Peter Geoghegan 2023-04-10 17:55:23 -07:00
parent 4380c2509d
commit 26e65ebdb2

View File

@ -223,6 +223,11 @@ delvacuum_desc(StringInfo buf, char *block_data,
Assert(OffsetNumberIsValid(off));
Assert(updates->ndeletedtids > 0);
/*
* "ptid" is the symbol name used when building each xl_btree_update's
* array of offsets into a posting list tuple's ItemPointerData array.
* xl_btree_update describes a subset of the existing TIDs to delete.
*/
appendStringInfo(buf, "{ off: %u, nptids: %u, ptids: [",
off, updates->ndeletedtids);
for (int p = 0; p < updates->ndeletedtids; p++)