projects
/
postgresql-pgindent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
4380c25
)
Clarify nbtree posting list update desc issue.
author
Peter Geoghegan
<
[email protected]
>
Tue, 11 Apr 2023 00:55:23 +0000
(17:55 -0700)
committer
Peter Geoghegan
<
[email protected]
>
Tue, 11 Apr 2023 00:55:23 +0000
(17:55 -0700)
Per complaint from Melanie Plageman.
Follow-up to commit
5d6728e5
.
Reported-By: Melanie Plageman <
[email protected]
>
Discussion: https://postgr.es/m/
20230411002315
.oyaicmcqrq2hb3ek@liskov
src/backend/access/rmgrdesc/nbtdesc.c
|
blob
|
blame
|
history
diff --git
a/src/backend/access/rmgrdesc/nbtdesc.c
b/src/backend/access/rmgrdesc/nbtdesc.c
index 0db3274dc512328d08d304fd0c772077c62d2620..c50d5547de86462e50ead987f17870e390bc4f5c 100644
(file)
--- a/
src/backend/access/rmgrdesc/nbtdesc.c
+++ b/
src/backend/access/rmgrdesc/nbtdesc.c
@@
-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++)