Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 26e65eb

Browse files
Clarify nbtree posting list update desc issue.
Per complaint from Melanie Plageman. Follow-up to commit 5d6728e. Reported-By: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/20230411002315.oyaicmcqrq2hb3ek@liskov
1 parent 4380c25 commit 26e65eb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/backend/access/rmgrdesc/nbtdesc.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,11 @@ delvacuum_desc(StringInfo buf, char *block_data,
223223
Assert(OffsetNumberIsValid(off));
224224
Assert(updates->ndeletedtids > 0);
225225

226+
/*
227+
* "ptid" is the symbol name used when building each xl_btree_update's
228+
* array of offsets into a posting list tuple's ItemPointerData array.
229+
* xl_btree_update describes a subset of the existing TIDs to delete.
230+
*/
226231
appendStringInfo(buf, "{ off: %u, nptids: %u, ptids: [",
227232
off, updates->ndeletedtids);
228233
for (int p = 0; p < updates->ndeletedtids; p++)

0 commit comments

Comments
 (0)