Paste into your AI assistant to fix the article, then ask for a re-review.
Show the text
Fix the article with this report, then ask pgTrue for a re-review.
# pgTrue report: Postgres FM \| Transcript: GSoC B-Tree Merge
Article title: Postgres FM \| Transcript: GSoC B-Tree Merge
Article URL: https://postgres.fm/episodes/gsoc-btree-merge/transcript
Report URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443
Audited revision: 2 of 2, 2026-10-19 08:38:39 UTC
Overall letter: A-
## Axes
- Factual: A · 0 wrong · 15 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 7 checked · 1 caveats · assessed
- Consistent: A · 0 wrong · 15 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 3 checked · 0 caveats · assessed
- Safe: — · 0 wrong · 0 checked · 0 caveats · not applicable
ElephantSeal: A-.
Open conditions: the central claim is not yet backed by evidence.
## Report metadata
- Report: Technical fact-check, edition 3
- pgTrue version: audited with v1.0.14 (approx.) · regraded with v1.1.3
- Issued: 2026-10-19
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. We re-audited this article 1 time; see Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
## Findings needing a change (1)
### F1 · Imprecise · Applicable · VACUUM retains deleted index pages for reuse
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=it%20will%20be%20truncated%20even%20if%20it%27s%20in%20the%20middle)
Article says:
```text
…it will be truncated even if it's in the middle…
```
What is true:
VACUUM does not shrink the B-tree file. src/backend/access/nbtree/nbtree.c:1496-1501 records recyclable pages in the free-space map. doc/src/sgml/maintenance.sgml:169-174 distinguishes reuse from returning disk space. Repeating VACUUM will not reclaim that file space.
So what:
Use REINDEX when reclaiming index file space is required. Do not repeat VACUUM expecting interior pages to shrink the file.
Charitable reading:
The speaker may mean logical page deletion. The comparison with heap truncation obscures the difference in disk reclamation.
Review: We tested the logical-deletion reading. The explicit heap-truncation comparison supports an imprecision charge. VACUUM records reusable blocks without shrinking the index. We tested the logical-deletion reading. The explicit heap-truncation comparison supports the narrower terminology charge. Reuse differs from file shrinkage.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtree.c:1496-1501](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtree.c#L1496-L1501)
Excerpt:
```text
if (!opaque || BTPageIsRecyclable(page, heaprel))
{
/* Okay to recycle this page (which could be leaf or internal) */
RecordFreeIndexPage(rel, blkno);
stats->pages_deleted++;
stats->pages_free++;
```
- [REL_19_STABLE@16dd909023 · doc/src/sgml/maintenance.sgml:169-174](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/maintenance.sgml#L169-L174)
Excerpt:
```text
The standard form of <command>VACUUM</command> removes dead row
versions in tables and indexes and marks the space available for
future reuse. However, it will not return the space to the operating
system, except in the special case where one or more pages at the
end of a table become entirely free and an exclusive table lock can be
easily obtained. In contrast, table-rewriting commands such as
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F1
## Verified accurate claims (14)
### F2 · Accurate · Factual · Existing page deletion requires an empty leaf
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=it%20should%20be%20fully%20empty)
Article says:
```text
…it should be fully empty…
```
What is true:
src/backend/access/nbtree/nbtpage.c:1926-1934 rejects a leaf containing data items. Deletion marks an eligible page half-dead and then unlinks it. Snapshot safety delays recycling. The existing code does not consolidate partially occupied leaves.
Charitable reading:
The article gives emptiness as a necessary condition, not a guarantee that every empty page can disappear.
Review: We checked exceptions for roots, rightmost pages, and incomplete splits. Emptiness remains necessary, and the finding does not claim sufficiency. We checked root, rightmost-page, and incomplete-split exclusions. Emptiness remains necessary. The finding does not promise deletion of every empty page.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtpage.c:1926-1934](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtpage.c#L1926-L1934)
Excerpt:
```text
if (P_RIGHTMOST(opaque) || P_ISROOT(opaque) ||
P_FIRSTDATAKEY(opaque) <= PageGetMaxOffsetNumber(page) ||
P_INCOMPLETE_SPLIT(opaque))
{
/* Should never fail to delete a half-dead page */
Assert(!P_ISHALFDEAD(opaque));
_bt_relbuf(rel, leafbuf);
return;
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtpage.c:2030-2053](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtpage.c#L2030-L2053)
Excerpt:
```text
* Then unlink it from its siblings. Each call to
* _bt_unlink_halfdead_page unlinks the topmost page from the subtree,
* making it shallower. Iterate until the leafbuf page is deleted.
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/README:394-398](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/README#L394-L398)
Excerpt:
```text
We implement the technique by waiting until all active snapshots and
registered snapshots as of the page deletion are gone; which is overly
strong, but is simple to implement within Postgres.
```
- [REL_19_STABLE@16dd909023 · src/include/access/nbtree.h:226-226](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtree.h#L226-L226)
Excerpt:
```text
#define P_IGNORE(opaque) (((opaque)->btpo_flags & (BTP_DELETED|BTP_HALF_DEAD)) != 0)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F2
### F3 · Accurate · Factual · Bottom-up deletion attempts to avoid page splits
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=it%20was%20trying%20to%20avoid%20splitting)
Article says:
```text
…it was trying to avoid splitting…
```
What is true:
src/backend/access/nbtree/nbtinsert.c:2821-2823 automatically invokes bottom-up deletion for eligible insertions. doc/src/sgml/btree.sgml:686-689 identifies anticipated version-churn splits as its trigger. PostgreSQL 14.0 already calls this operation. It deletes obsolete tuples within a page without merging leaves.
Charitable reading:
The article describes bottom-up deletion as prevention of version-churn bloat, not repair of existing sparse pages.
Review: We checked whether split avoidance meant a guarantee or page merging. The finding correctly describes an eligible deletion attempt, including PostgreSQL 14.0. We checked PostgreSQL 14.0 and the target revision. Both invoke bottom-up deletion. The documentation identifies anticipated version-churn splits as its trigger.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtinsert.c:2821-2823](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtinsert.c#L2821-L2823)
Excerpt:
```text
if ((indexUnchanged || uniquedup) &&
_bt_bottomupdel_pass(rel, buffer, heapRel, insertstate->itemsz))
return;
```
- [REL_19_STABLE@16dd909023 · doc/src/sgml/btree.sgml:686-689](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/btree.sgml#L686-L689)
Excerpt:
```text
B-Tree indexes incrementally delete version churn index tuples by
performing <firstterm>bottom-up index deletion</firstterm> passes.
Each deletion pass is triggered in reaction to an anticipated
<quote>version churn page split</quote>. This only happens with
```
- [REL_14_0 · src/backend/access/nbtree/nbtinsert.c:2745-2745](https://github.com/postgres/postgres/blob/86a4dc1e6f29d1992a2afa3fac1a0b0a6e84568c/src/backend/access/nbtree/nbtinsert.c#L2745-L2745)
Qualification: Version note: PostgreSQL 14.0 release check.
Excerpt:
```text
_bt_bottomupdel_pass(rel, buffer, heapRel, insertstate->itemsz))
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F3
### F4 · Accurate · Factual · Heap TID breaks ties between equal B-tree keys
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=the%20last%20sort%20key%20is%20the%20TID)
Article says:
```text
…the last sort key is the TID…
```
What is true:
src/backend/access/nbtree/nbtsearch.c:795-799 uses heap TID after comparing indexed attributes. Equal logical keys consequently have a physical order. ItemPointerData stores a block identifier and an offset number. This supports the ordering premise of the proposed recovery design.
Charitable reading:
The surrounding discussion excludes older indexes that lack heapkeyspace ordering.
Review: We tested the older-format exception and the distinction between ordering and recovery correctness. The finding verifies only the ordering premise. We tested the older-format exception. The discussion excludes those indexes. The source supports TID ordering without proving the proposed recovery algorithm.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtsearch.c:795-799](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtsearch.c#L795-L799)
Excerpt:
```text
* Use the heap TID attribute and scantid to try to break the tie. The
* rules are the same as any other key attribute -- only the
* representation differs.
*/
heapTid = BTreeTupleGetHeapTID(itup);
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/README:42-44](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/README#L42-L44)
Excerpt:
```text
The requirement that all btree keys be unique is satisfied by treating heap
TID as a tiebreaker attribute. Logical duplicates are sorted in heap TID
order. This is necessary because Lehman and Yao also require that the key
```
- [REL_19_STABLE@16dd909023 · src/include/storage/itemptr.h:36-40](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/storage/itemptr.h#L36-L40)
Excerpt:
```text
typedef struct ItemPointerData
{
BlockIdData ip_blkid;
OffsetNumber ip_posid;
}
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtsearch.c:307-310](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtsearch.c#L307-L310)
Excerpt:
```text
if (P_IGNORE(opaque) || _bt_compare(rel, key, page, P_HIKEY) >= cmpval)
{
/* step right one page */
buf = _bt_relandgetbuf(rel, buf, opaque->btpo_next, access);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F4
### F6 · Accurate · Factual · Heap2 already exists as a separate resource manager
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=like%20following%20heap2%2C%20which%20is%20already%20introduced)
Article says:
```text
…like following heap2, which is already introduced…
```
What is true:
src/include/access/rmgrlist.h:37 registers RM_HEAP2_ID with heap2_redo and its description functions. Heap2 provides the stated precedent for extending WAL operation capacity through another resource manager.
Charitable reading:
The claim concerns Heap2 as an existing precedent. It does not establish the proposed Btree2 implementation.
Review: We checked whether the finding certified the proposed Btree2 implementation. It only confirms the existing Heap2 registration and precedent. We checked whether Heap2 merely named a proposed mechanism. The registry already defines RM_HEAP2_ID and its replay functions.
Sources:
- [REL_19_STABLE@16dd909023 · src/include/access/rmgrlist.h:37-37](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/rmgrlist.h#L37-L37)
Excerpt:
```text
PG_RMGR(RM_HEAP2_ID, "Heap2", heap2_redo, heap2_desc, heap2_identify, NULL, NULL, heap_mask, heap2_decode)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F6
### F7 · Accurate · Factual · The pgstattuple extension warrants page-state compatibility checks
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=I%20would%20also%20check%20maybe%20pgstattuple%20extension)
Article says:
```text
…I would also check maybe pgstattuple extension…
```
What is true:
contrib/pgstattuple/pgstatindex.c:321-325 classifies deleted, half-dead, and leaf pages through existing B-tree flags. New merge states require checking these classifications. The recommendation identifies a concrete compatibility dependency.
Charitable reading:
The speaker recommends compatibility review, rather than claiming a confirmed extension failure.
Review: We tested whether a compatibility recommendation had become a confirmed failure claim. The finding correctly identifies flag dependencies without alleging failure. We tested whether the finding alleges a demonstrated extension failure. It recommends compatibility checks. Existing flag-based classifications support that recommendation.
Sources:
- [REL_19_STABLE@16dd909023 · contrib/pgstattuple/pgstatindex.c:321-325](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/contrib/pgstattuple/pgstatindex.c#L321-L325)
Excerpt:
```text
if (P_ISDELETED(opaque))
indexStat.deleted_pages++;
else if (P_IGNORE(opaque))
indexStat.empty_pages++; /* this is the "half dead" state */
else if (P_ISLEAF(opaque))
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F7
### F8 · Accurate · Factual · SQL deletion records transaction information in the heap tuple
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=When%20you%20delete%20records%2C%20it%20just%20marks%20them%20as%20deleted)
Article says:
```text
When you delete records, it just marks them as deleted…
```
What is true:
src/backend/access/heap/heapam.c:3059-3066 records the deleting transaction through tuple flags, xmax, and command information. This preserves the physical tuple for MVCC visibility checks before later cleanup.
Charitable reading:
The sentence describes SQL deletion of heap rows before later physical cleanup.
Review: We checked whether the quote concerned immediate index-entry removal. Its context distinguishes deletion from later cleanup, consistent with heap transaction markers. We checked whether the statement requires immediate index-entry removal. It describes SQL deletion. heapam.c records transaction information in the retained tuple.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/heap/heapam.c:3059-3066](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/heap/heapam.c#L3059-L3066)
Excerpt:
```text
/* store transaction information of xact deleting the tuple */
tp.t_data->t_infomask &= ~(HEAP_XMAX_BITS | HEAP_MOVED);
tp.t_data->t_infomask2 &= ~HEAP_KEYS_UPDATED;
tp.t_data->t_infomask |= new_infomask;
tp.t_data->t_infomask2 |= new_infomask2;
HeapTupleHeaderClearHotUpdated(tp.t_data);
HeapTupleHeaderSetXmax(tp.t_data, new_xmax);
HeapTupleHeaderSetCmax(tp.t_data, cid, iscombo);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F8
### F9 · Accurate · Factual · WAL records identify their resource manager
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=this%20is%20a%20B%2Dtree%20WAL)
Article says:
```text
…this is a B-tree WAL…
```
What is true:
src/include/access/xlogrecord.h:46-47 defines xl_info flags and the xl_rmid resource-manager identifier. The resource-manager registry connects identifiers to replay and description functions. These fields support the article's explanation of identifying and interpreting B-tree WAL records.
Charitable reading:
The speaker explains record interpretation informally. We checked the resource-manager mechanism separately from WAL block framing.
Review: We tested the distinction between WAL blocks and records. The finding limits verification to record identification and resource-manager dispatch. We separated WAL block framing from record interpretation. xl_rmid and xl_info support the finding's narrower explanation.
Sources:
- [REL_19_STABLE@16dd909023 · src/include/access/rmgrlist.h:37-37](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/rmgrlist.h#L37-L37)
Excerpt:
```text
PG_RMGR(RM_HEAP2_ID, "Heap2", heap2_redo, heap2_desc, heap2_identify, NULL, NULL, heap_mask, heap2_decode)
```
- [REL_19_STABLE@16dd909023 · src/include/access/xlogrecord.h:46-47](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/xlogrecord.h#L46-L47)
Excerpt:
```text
uint8 xl_info; /* flag bits, see below */
RmgrId xl_rmid; /* resource manager for this record */
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F9
### F11 · Accurate · Factual · Verified accurate: “That's why we have things like fillfactor…”
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=That%27s%20why%20we%20have%20things%20like%20fillfactor)
Article says:
```text
That's why we have things like fillfactor…
```
What is true:
doc/src/sgml/ref/create_index.sgml:408–415 says fillfactor controls B-tree leaf-page packing during initial builds and right-edge extension. A target below full capacity reserves space. This excerpt establishes neither a default percentage nor a merge threshold.
Review: E-28 establishes where fillfactor applies. Its quotation omits the 90 percent default and the asserted effect on subsequent splits.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/ref/create_index.sgml:408-415](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/ref/create_index.sgml#L408-L415)
Excerpt:
```text
the index method will try to pack index pages. For B-trees, leaf pages
are filled to this percentage during initial index builds, and also
when extending the index at the right (adding new largest key values).
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F11
### F12 · Accurate · Factual · Concurrent rebuilding can delay VACUUM cleanup on other tables
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=It%27s%20been%20horizon%20pinned)
Article says:
```text
…It's been horizon pinned…
```
What is true:
doc/src/sgml/ref/reindex.sgml:492-494 documents the effect on other tables. src/backend/commands/indexcmds.c:4239-4245 releases the validation snapshot before waiting for older snapshots. Cleanup interference depends on the active rebuild phase and concurrent row changes.
Charitable reading:
The sentence identifies a rebuild risk. It does not guarantee that every table accumulates bloat throughout every rebuild phase.
Review: We tested whether snapshot release invalidates the cleanup risk. The finding already limits interference by rebuild phase and concurrent changes. We tested whether snapshot release invalidates the charge. The finding already limits interference by rebuild phase. reindex.sgml documents possible effects elsewhere.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/ref/reindex.sgml:492-494](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/ref/reindex.sgml#L492-L494)
Excerpt:
```text
Like any long-running transaction, <command>REINDEX</command> on a table
can affect which tuples can be removed by concurrent
<command>VACUUM</command> on any other table.
```
- [REL_19_STABLE@16dd909023 · src/backend/commands/indexcmds.c:4239-4245](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/commands/indexcmds.c#L4239-L4245)
Excerpt:
```text
* We can now do away with our active snapshot, we still need to save
* the xmin limit to wait for older snapshots.
*/
limitXmin = snapshot->xmin;
PopActiveSnapshot();
UnregisterSnapshot(snapshot);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F12
### F14 · Accurate · Factual · Verified accurate: “…Postgres has got this far without B-tree merge…”
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=Postgres%20has%20got%20this%20far%20without%20B%2Dtree%20merge)
Article says:
```text
…Postgres has got this far without B-tree merge…
```
What is true:
src/backend/access/nbtree/nbtpage.c:1926–1934 rejects page deletion when data items remain. README:235–239 contrasts empty pages with partly full page merging. The quoted README fragment does not establish the concurrent-scan explanation.
Review: E-39 mentions partly full page merging but omits the concurrent-scan explanation. E-15 independently supports the empty-page deletion condition.
Sources:
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/nbtpage.c:1926-1934](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/nbtpage.c#L1926-L1934)
Excerpt:
```text
if (P_RIGHTMOST(opaque) || P_ISROOT(opaque) ||
P_FIRSTDATAKEY(opaque) <= PageGetMaxOffsetNumber(page) ||
P_INCOMPLETE_SPLIT(opaque))
{
/* Should never fail to delete a half-dead page */
Assert(!P_ISHALFDEAD(opaque));
_bt_relbuf(rel, leafbuf);
return;
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/README:235-239](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/README#L235-L239)
Excerpt:
```text
completely empty of items. (Merging partly-full pages would allow better
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F14
### F16 · Accurate · Factual · The Peter Geoghegan attribution matches PostgreSQL 14 release notes
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=the%20bottom%2Dup%20deletion%2C%20that%20was%20Peter%20Geoghegan%20as%20well)
Article says:
```text
…the bottom-up deletion, that was Peter Geoghegan as well…
```
What is true:
PostgreSQL 14 release notes credit Peter Geoghegan for deleting expired B-tree entries during insertion to prevent page splits. See doc/src/sgml/release-14.sgml:26805–26807.
Charitable reading:
The attribution concerns the PostgreSQL 14 deletion improvement discussed immediately before the quote.
Review: We checked whether the attribution belonged to another optimization. The PostgreSQL 14 release entry credits Peter Geoghegan for deletion that prevents splits. We checked the attribution against PostgreSQL 14 release notes. They credit Peter Geoghegan for removing expired entries to prevent splits.
Sources:
- [REL_14_24 · doc/src/sgml/release-14.sgml:26805-26807](https://github.com/postgres/postgres/blob/6b3806732b7c5df06bdd0ed150e8a07b4ad62315/doc/src/sgml/release-14.sgml#L26805-L26807)
Qualification: Version note: PostgreSQL 14 release history.
Excerpt:
```text
to prevent page splits (Peter Geoghegan)
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F16
### F17 · Accurate · Factual · Long-running reindexing can delay cleanup on other tables
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=you%20fight%20bloat%20in%201,bloat%20everywhere%20in%20that%20database)
Article says:
```text
…you fight bloat in 1 index and cause bloat everywhere in that database…
```
What is true:
REINDEX can restrict which tuples VACUUM removes from other tables. doc/src/sgml/ref/reindex.sgml:492–494 documents that effect. Bloat growth requires concurrent obsolete-row accumulation. The statement describes a possible database-wide effect.
Charitable reading:
The statement describes a risk during long-running maintenance, rather than guaranteed growth in every table.
Review: We tested the literal claim of inevitable bloat everywhere. The finding explicitly limits it to a possible effect requiring obsolete-row accumulation. We tested the literal claim of universal bloat growth. The finding instead describes possible cleanup interference and requires concurrent obsolete-row accumulation.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/ref/reindex.sgml:492-494](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/ref/reindex.sgml#L492-L494)
Excerpt:
```text
can affect which tuples can be removed by concurrent
<command>VACUUM</command> on any other table.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F17
### F21 · Accurate · Factual · The half-full-page example adds up
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=2%2050%25%20empty%20pages)
Article says:
```text
…2 50% empty pages…
```
What is true:
Two pages at 50% occupancy contain one page of data under the example's equal-capacity model (derived: 50% + 50% = 100%).
Charitable reading:
The example assumes equal page capacities and treats occupancy as additive. It does not calculate physical page overhead.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We tested page-overhead and unequal-capacity objections. The finding explicitly limits its 50% + 50% calculation to the equal-capacity model. We tested page-overhead objections. The finding explicitly assumes equal capacities and additive occupancy. Under that model, 50% plus 50% equals 100%.
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F21
### F22 · Accurate · Factual · The listed merge logging operations total three
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=we%20needed%203%20slots%20for%20logging)
Article says:
```text
…we needed 3 slots for logging…
```
What is true:
The description names one merge operation and two vacuum cleanup operations. Their total matches the stated three slots (derived: 1 + 2 = 3).
Charitable reading:
The count describes three named logging operations. It does not prove that three separate codes are the only possible design.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We checked whether operation counting implied an encoding requirement. The finding verifies only the stated total, 1 + 2 = 3. We counted the named logging operations. One merge and two cleanup operations total three. The finding makes no implementation-correctness claim.
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F22
## Notes (not graded) (8)
### F5 · Note · · Note: “…the nbtree only had 1 slot left…”
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=the%20nbtree%20only%20had%201%20slot%20left)
Article says:
```text
…the nbtree only had 1 slot left…
```
What is true:
src/include/access/nbtxlog.h:24–44 assigns operation information to four high xl_info bits. XLOG_BTREE_META_CLEANUP uses 0xE0. These excerpts do not establish that exactly one operation value remains unused.
Explanation: Not graded: no reader would act differently on it.
Review: The excerpts establish four operation bits and one 0xE0 definition. They do not enumerate 15 codes or exclude 0xF0.
Sources:
- [REL_19_STABLE@16dd909023 · src/include/access/nbtxlog.h:24-44](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtxlog.h#L24-L44)
Excerpt:
```text
* XLOG allows to store some information in high 4 bits of log
* record xl_info field
```
- [REL_19_STABLE@16dd909023 · src/include/access/nbtxlog.h:43-43](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtxlog.h#L43-L43)
Excerpt:
```text
#define XLOG_BTREE_META_CLEANUP 0xE0 /* update cleanup-related data in the
```
- [REL_19_STABLE@16dd909023 · src/include/access/nbtxlog.h:24-44](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtxlog.h#L24-L44)
Excerpt:
```text
* XLOG allows to store some information in high 4 bits of log
* record xl_info field
```
- [REL_19_STABLE@16dd909023 · src/include/access/nbtxlog.h:24-44](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtxlog.h#L24-L44)
Excerpt:
```text
#define XLOG_BTREE_META_CLEANUP 0xE0 /* update cleanup-related data in the
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F5
### F10 · Note · · B-tree leaves share one level
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=from%20root%20to%20leaf%20it%27s,n%20or%20n%20plus%201)
Article says:
```text
…from root to leaf it's always n or n plus 1…
```
What is true:
doc/src/sgml/btree.sgml:637-640 places all leaves on the lowest level. Internal downlinks point to the next level. Structural root-to-leaf paths consequently have equal depth, a stronger invariant than the article's n-or-n-plus-1 description.
Charitable reading:
The n-or-n-plus-1 bound includes equal-depth paths. It omits the stronger B-tree invariant without prescribing a different operation.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We tested whether equal depth contradicts the stated upper bound. It does not. The finding appropriately remains an explanatory note. We tested the inclusive n-or-n-plus-1 reading. Equal depth satisfies that bound. The finding correctly records the stronger invariant as a note.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/btree.sgml:637-640](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/btree.sgml#L637-L640)
Excerpt:
```text
Leaf pages are the pages on the lowest level of the tree. All
other levels consist of internal pages. Each leaf page contains
tuples that point to table rows. Each internal page contains
tuples that point to the next level down in the tree. Typically,
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F10
### F13 · Note · · Note: “In B-tree, it will be truncated even if it's in the middle…”
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=In%20B%2Dtree%2C%20it%20will%20be,if%20it%27s%20in%20the%20middle)
Article says:
```text
In B-tree, it will be truncated even if it's in the middle…
```
What is true:
This repeats F1's distinction between deleting an index page and shrinking its file. maintenance.sgml:169-174 describes reusable space. The same article wording does not establish a second operational defect.
So what:
Use REINDEX when the goal is shrinking the index file, instead of expecting VACUUM to reclaim interior pages physically.
Explanation: Not graded: no reader would act differently on it.
Review: F13 repeats F1's article clause, correction, reader action, and consequence. The sources support one truncation defect, not two independent graded defects. F13 repeats F1's statement, correction, and reader action. The technical correction stands. A second graded charge counts the same defect twice.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/maintenance.sgml:169-174](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/maintenance.sgml#L169-L174)
Excerpt:
```text
The standard form of <command>VACUUM</command> removes dead row
versions in tables and indexes and marks the space available for
future reuse. However, it will not return the space to the operating
system, except in the special case where one or more pages at the
end of a table become entirely free and an exclusive table lock can be
easily obtained. In contrast, table-rewriting commands such as
```
- [REL_19_STABLE@16dd909023 · doc/src/sgml/maintenance.sgml:169-174](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/maintenance.sgml#L169-L174)
Excerpt:
```text
future reuse. However, it will not return the space
```
- [REL_19_STABLE@16dd909023 · src/backend/access/nbtree/README:235-239](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/nbtree/README#L235-L239)
Excerpt:
```text
completely empty of items. (Merging partly-full pages would allow better
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F13
### F15 · Note · · Note: “…this is the UUIDv7 of Google Summer of Code. In PG18…”
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=this%20is%20the%20UUIDv7%20of,Summer%20of%20Code.%20In%20PG18)
Article says:
```text
…this is the UUIDv7 of Google Summer of Code. In PG18…
```
What is true:
REL_18_6 doc/src/sgml/release-18.sgml:8782–8784 mentions a function generating timestamp-ordered values. The quoted fragment does not identify uuidv7(). It cannot establish the specific release association by itself.
Explanation: Not graded: no reader would act differently on it.
Review: E-41 mentions an unnamed timestamp-ordered function. It does not identify uuidv7() or establish the application-use assertion.
Sources:
- [REL_18_6 · doc/src/sgml/release-18.sgml:8782-8784](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/release-18.sgml#L8782-L8784)
Qualification: Version note: We checked PostgreSQL 18 release notes separately from the PostgreSQL 19 implementation.
Excerpt:
```text
function for generating timestamp-ordered
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F15
### F18 · Note · · PostgreSQL 13 deduplication and PostgreSQL 14 deletion are separate improvements
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=optimizations%20in%20Postgres%2013%20and%2014%20for%20deduplication)
Article says:
```text
…optimizations in Postgres 13 and 14 for deduplication…
```
What is true:
PostgreSQL 13 added B-tree deduplication. PostgreSQL 14 added deletion improvements that prevent page splits. The episode later distinguishes these mechanisms. See release-13.sgml:25606 and release-14.sgml:26805–26807.
Charitable reading:
The episode later names bottom-up deletion separately. The discussion correctly identifies improvements in both releases.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We checked the charitable reading of two related release improvements. The finding acknowledges the later distinction and imposes no operational charge. We checked both release histories and the conversational correction. The mechanisms differ. A note preserves that distinction without grading the shorthand.
Sources:
- [REL_14_24 · doc/src/sgml/release-14.sgml:26805-26807](https://github.com/postgres/postgres/blob/6b3806732b7c5df06bdd0ed150e8a07b4ad62315/doc/src/sgml/release-14.sgml#L26805-L26807)
Qualification: Version note: PostgreSQL 14 release history.
Excerpt:
```text
to prevent page splits (Peter Geoghegan)
```
- [REL_13_23 · doc/src/sgml/release-13.sgml:25606-25606](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/release-13.sgml#L25606-L25606)
Qualification: Version note: PostgreSQL 13 release history.
Excerpt:
```text
2020-02-26 [0d861bbb7] Add deduplication to nbtree.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F18
### F19 · Note · · The discussion corrects the suggestion that reindexing costs only disk space
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=that%27s%20only%20disk%20space)
Article says:
```text
…that's only disk space…
```
What is true:
Concurrent reindexing also consumes CPU, memory, and I/O. doc/src/sgml/ref/reindex.sgml:379–380 documents those costs. Lines 492–494 describe effects on VACUUM. The conversation supplies additional costs after the quoted challenge.
Charitable reading:
This is a conversational challenge. Other speakers immediately identify horizon effects, and Michael later identifies cache costs.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We read the immediate response to the disk-space question. The finding preserves that correction and does not misrepresent the question as final advice. We checked whether the isolated question represents final advice. The discussion supplies other costs. The finding correctly treats it as a corrected exchange.
Sources:
- [REL_19_STABLE@16dd909023 · doc/src/sgml/ref/reindex.sgml:492-494](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/ref/reindex.sgml#L492-L494)
Excerpt:
```text
can affect which tuples can be removed by concurrent
<command>VACUUM</command> on any other table.
```
- [REL_19_STABLE@16dd909023 · doc/src/sgml/ref/reindex.sgml:379-380](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/doc/src/sgml/ref/reindex.sgml#L379-L380)
Excerpt:
```text
the extra CPU, memory and I/O load imposed by the index rebuild
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F19
### F20 · Note · · The occupancy percentage does not match the record count
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=If%20it%27s%2099.999)
Article says:
```text
If it's 99.999…
```
What is true:
One remaining record among 8,000 gives 99.9875% emptiness by record count (derived: 100 × 7,999 / 8,000). It does not give 99.999%. Neither percentage establishes byte occupancy without record sizes.
Charitable reading:
The speaker illustrates a nearly empty page. The following exchange corrects the confusion between page size and entry count.
Explanation: Not graded: knowing this would not change what a reader does.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We recalculated 7,999 / 8,000 as 99.9875%. The finding correctly distinguishes record-count arithmetic from byte occupancy and remains a note. We recalculated 7,999 divided by 8,000. The result is 99.9875%. The note distinguishes record-count arithmetic from byte occupancy.
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F20
### F23 · Note · · Two format families contain three numbered B-tree versions
Location: excerpt · section “GSoC B-Tree Merge” · as fetched 2026-10-19 · [open in article](https://postgres.fm/episodes/gsoc-btree-merge/transcript#:~:text=there%27s%202%20B%2Dtree%20versions%20for%20file%20versioning)
Article says:
```text
…there's 2 B-tree versions for file versioning…
```
What is true:
PostgreSQL supports B-tree versions 2, 3, and 4. src/include/access/nbtree.h:131-132 confirms support for versions 2 and 3. Line 151 defines current version 4. The older-versus-current distinction supports a charitable reading of two format families.
Charitable reading:
Two can describe the older formats versus version 4. Version 2 also upgrades its metapage to version 3 on insertion.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We tested the two-format-family reading against three numbered versions. The finding already accepts that reading and does not infer patch compatibility. We tested the older-versus-current family reading. The finding accepts it. nbtree.h separately confirms supported versions 2, 3, and 4.
Sources:
- [REL_19_STABLE@16dd909023 · src/include/access/nbtree.h:131-132](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtree.h#L131-L132)
Excerpt:
```text
* with duplicate keys could be stored in any order. We continue to
* support reading and writing Btree versions 2 and 3, so that they don't
```
- [REL_19_STABLE@16dd909023 · src/include/access/nbtree.h:151-151](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/include/access/nbtree.h#L151-L151)
Excerpt:
```text
#define BTREE_VERSION 4 /* current version number */
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443#F23
## Withdrawn findings (0)
None.
## Section checks
- Why merge pages · A · 2 verified-accurate · 66% of claims (4 of 6, plus 6 that need data we do not have)
- Existing B-tree behavior · A · 1 imprecise · 1 verified-accurate · 86% of claims (13 of 15, plus 3 that need data we do not have)
- Merge thresholds and risks · A · 2 verified-accurate · 100% of claims (5 of 5, plus 5 that need data we do not have)
- Reindex alternatives · A · 2 verified-accurate · 57% of claims (4 of 7, plus 2 that need data we do not have) provisional
- Correctness and compatibility · A · none · 100% of claims (1 of 1, plus 10 that need data we do not have)
- Parallel scan redesign · A · 1 verified-accurate · 100% of claims (3 of 3, plus 12 that need data we do not have)
- WAL resource managers · A · 3 verified-accurate · 85% of claims (6 of 7, plus 7 that need data we do not have)
- Feature reach · A · none · 100% of claims (2 of 2, plus 1 that need data we do not have)
- amcheck and other tools · A · 1 verified-accurate · 100% of claims (3 of 3, plus 5 that need data we do not have)
- Earlier B-tree improvements · A · 2 verified-accurate · 100% of claims (6 of 6, plus 1 that need data we do not have)
## Claim coverage
- Introduction: no checkable claims; not counted: 1 product or opinion, 6 not a claim
- GSoC and mentoring: 1 of 1 Postgres claims checked, plus 1 that need data we do not have; not counted: 9 product or opinion, 1 duplicate, 4 not a claim
- Joining the project: no checkable claims; not counted: 7 product or opinion, 8 not a claim
- Concurrent B-tree changes: 7 claims are the author's own account; nothing checkable; not counted: 3 product or opinion, 1 duplicate
- Why merge pages: 4 of 6 Postgres claims checked, plus 6 that need data we do not have; not counted: 5 product or opinion, 1 duplicate; not checked: 2 for other reasons
- Existing B-tree behavior: 13 of 15 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 product or opinion, 6 duplicate; not checked: 2 for other reasons
- Key distribution and bloat: 0 of 1 Postgres claims checked, plus 4 that need data we do not have; not counted: 2 duplicate; not checked: 1 for other reasons
- Merge thresholds and risks: 5 of 5 Postgres claims checked, plus 5 that need data we do not have; not counted: 4 product or opinion
- Reindex alternatives: 4 of 7 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 product or opinion; not checked: 3 for other reasons
- Deletion examples: 0 of 1 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 product or opinion, 1 duplicate, 2 not a claim; not checked: 1 for other reasons
- Initial merge design: 5 claims are the author's own account; nothing checkable; not counted: 2 product or opinion, 2 not a claim
- Tombstones and scan recovery: 16 claims are the author's own account; nothing checkable; not counted: 2 duplicate
- Merge restrictions: 2 of 2 Postgres claims checked, plus 9 that need data we do not have; not counted: 1 product or opinion, 2 duplicate
- Correctness and compatibility: 1 of 1 Postgres claims checked, plus 10 that need data we do not have; not counted: 5 product or opinion, 1 duplicate, 1 not a claim
- Project goals: no checkable claims; not counted: 14 product or opinion, 2 duplicate, 1 not a claim
- Extension compatibility: 2 claims are the author's own account; nothing checkable; not counted: 3 product or opinion, 1 duplicate
- Parallel scan redesign: 3 of 3 Postgres claims checked, plus 12 that need data we do not have; not counted: 3 product or opinion, 3 duplicate
- WAL resource managers: 6 of 7 Postgres claims checked, plus 7 that need data we do not have; not counted: 2 product or opinion, 1 duplicate, 1 not a claim; not checked: 1 for other reasons
- Remaining work: no checkable claims; not counted: 3 product or opinion, 4 duplicate
- Feature reach: 2 of 2 Postgres claims checked, plus 1 that need data we do not have; not counted: 2 product or opinion, 2 duplicate
- Review invariants: 4 claims are the author's own account; nothing checkable; not counted: 2 product or opinion, 4 duplicate
- amcheck and other tools: 3 of 3 Postgres claims checked, plus 5 that need data we do not have; not counted: 2 product or opinion, 1 duplicate
- Earlier B-tree improvements: 6 of 6 Postgres claims checked, plus 1 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim
- Future work and participation: no checkable claims; not counted: 13 product or opinion, 3 duplicate, 3 not a claim
- Credits: no checkable claims; not counted: 5 duplicate, 3 not a claim
## What we did not check
- We did not verify the proposed merge patch's scan recovery, parallel scans, compatibility checks, WAL replay, or crash safety.
- We did not verify the reported 72-hour rebuild or the prototype's performance.
- We did not finish checking the general algorithm descriptions, split trigger, update qualifications, partitioning recommendations, or WAL framing.
- We did not check the linked patch discussion or merge visualizer.
- We did not verify the prototype's correctness, performance, crash recovery, or extension compatibility results.
- We did not establish whether the proposed merge patch changed after September 25, 2026.
- We did not verify the reported 72-hour reindex or customer bloat examples.
- We did not check several linked social profiles, video sessions, or the audio download.
- We did not verify the reported reindex durations, 99% bloat measurement, or daily PostgreSQL 19 bug-finding rate.
- We did not check the proposed merge implementation against its stated node counts, WAL operations, or compatibility restrictions.
- We did not verify the historical 30-year estimate or the illustrative population of 10,000 concurrent readers.
- We did not inspect the linked B-tree visualizer or compare its behavior with the proposed patch.
- Section “Reindex alternatives”: we checked 4 of 9 checkable claims.
- Section “Key distribution and bloat”: we checked 0 of 5 checkable claims.
- Section “Deletion examples”: we checked 0 of 4 checkable claims.
## Notes
- Central claim not verified. We checked existing PostgreSQL behavior, but did not verify the proposed merge implementation's scan recovery, crash safety, or compatibility.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 4 axes: 4 · central claim not backed by evidence, at most A− · result A-
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_19_STABLE@16dd909023 at commit 16dd90902366c0404616dc43b170c94b064d0caf (pinned target); https://postgres.ai/ (fetched 2026-10-19T08:39:12.882386Z); https://postgres.fm/ (fetched 2026-10-19T08:38:54.860969Z); https://postgres.fm/episodes (fetched 2026-10-19T08:38:55.805307Z); https://postgres.fm/episodes/gsoc-btree-merge (fetched 2026-10-19T08:39:02.483664Z); https://postgres.fm/people (fetched 2026-10-19T08:38:56.650002Z); https://postgres.fm/people/kirk-wolak (fetched 2026-10-19T08:39:13.832424Z); https://postgres.fm/people/michael-christofides (fetched 2026-10-19T08:39:03.592478Z); https://postgres.fm/people/nikolay-samokhvalov (fetched 2026-10-19T08:39:09.811089Z); https://postgres.fm/people/salma-el-sayed (fetched 2026-10-19T08:39:17.747667Z); https://www.kirasoft.com/ (fetched 2026-10-19T08:39:16.807208Z); https://www.pgmustard.com/ (fetched 2026-10-19T08:39:08.766662Z).
- Article captured 2026-10-19T08:38:39.710270Z · SHA-256 dbc98d89fc845c4a82318b0e2060995f6c546861f21e43372efd10591d1e3794 · Text extracted from the article's HTML.
- Policy SHA-256 896b845e95c18bc000a4981b5fb3a9300b45f7c931ff11c1efc456fb0d727cd7 · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- What we did not check
- We did not verify the proposed merge implementation's scan recovery, parallel scans, WAL replay, crash safety, or extension compatibility.
- We did not check the linked patch discussion or B-tree visualizer.
- We did not establish whether the proposed patch changed after September 25, 2026.
- We did not reproduce the displayed measurements or verify the reported 72-hour rebuild, 99% bloat, or prototype performance.
- We did not verify the reported PostgreSQL 19 bug-finding rate.
- We did not finish checking the general algorithm descriptions, split trigger, update qualifications, partitioning recommendations, or WAL framing.
- We did not verify the historical 30-year estimate or the illustrative population of 10,000 concurrent readers.
- We did not check several linked social profiles, video sessions, or the audio download.
- The article gives September 25, 2026 without a time. We list that date at midnight UTC.
- article target version: bound to the most-cited major; also named 13 (1×)
- 2 fetched pages are not listed above, because our policy does not allow linking them.
- review: the findings were written by one model and reviewed independently by a different model.
- 2026-10-30: Regraded under the current grading rules: the letter is the average of the axis letters, with every cap stated under it.
- 6 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, one pinned source tree, and 11 fetched pages.
- 18 survived · 5 weakened · 0 withdrawn.
## Revision history
- [Revision 1](https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443?v=4) · 2026-10-14 00:06 UTC · A- · audit version not recorded · regrade version not recorded
Article as first submitted. 6 accurate · 0 wrong · 3 caveats.
ElephantSeal: A-. Open: the central claim is not yet backed by evidence.
Changes: First audit. Open: F1 “…it will be truncated even if it's in the middle…” (mostly accurate); F8 “If it's 99.999…” (mostly accurate); F9 “…eliminate all the values we haven't seen before…” (mostly accurate).
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/979078fd-6b1a-42ff-89f4-fbfd9d2f4443?v=8) · this page · 2026-10-19 08:38 UTC · A- · audited with v1.0.14 (approx.) · regraded with v1.1.3
Same article text, re-audited. 14 accurate · 0 wrong · 1 caveat.
ElephantSeal: A-. Open: the central claim is not yet backed by evidence.
Changes: No longer reported: “If it's 99.999…”; “…eliminate all the values we haven't seen before…”. New: none.