Limited beta · What is this?

pgTrue is under active development: reports may contain significant mistakes, inaccuracies, or bugs. Please report anything you find to pgtrue@postgres.ai.

pgTrue is an independent fact-check of technical Postgres articles. Read the questions and answers.

pgTrue fact-check

ElephantSeal BLimited coverageOpen: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about; central claim not checked

Embed

The ElephantSeal always shows this report's latest edition and links here. Copies cached elsewhere may update later.

[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13" alt="pgTrue fact-check" width="90" height="20" loading="lazy" decoding="async" style="display:inline-block;width:90px;height:20px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13" alt="pgTrue fact-check" width="240" height="240" loading="lazy" decoding="async" style="display:inline-block;width:240px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&amp;theme=light" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&amp;theme=dark" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8)
<a href="https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8"><img src="https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13" alt="pgTrue fact-check" width="480" height="240" loading="lazy" decoding="async" style="display:inline-block;width:480px;height:240px"></a>
https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
   :alt: pgTrue fact-check
   :width: 480
   :height: 240

Click the snippet to select all of it, then copy. Where SVG is stripped, as in some email clients and feed readers, change .svg to .png. PNG uses the light theme for Auto. For Markdown PNG embeds, use the HTML snippet where supported to preserve the display size.

Optional colours: append &color=26798E or &labelColor=333C47 after a theme query (use ? for the first parameter). Use 3- or 6-digit hex.

For pages with a light background.

For pages with a dark background. The ElephantSeal gets a thin edge so it does not blend in.

Auto follows the reader's light or dark setting where the host supports it, and shows the light ElephantSeal where it does not.

On a light page
On a dark page

Postgres FM | Transcript: Dump/restore done. Now what? (opens in new tab)

postgres.fm
Check before you follow it: 2 claims are wrong.
2
inaccuracy
0
dangerous-recipe
0
misleading
1
imprecise
0
transcription
0
aged
0
withdrawn
22
verified-accurate

Factual B− · Applicable A · Consistent A · Transparent D · Safe B+

ReportTechnical fact-check, edition 2 pgTrue versionaudited with v1.1.4 Issued EditionUpdated after review. Corrections are listed below. SubmittedSubmitted by the PostgresAI team. Author responseNo written reply from the author. See Revisions below. Policy: right-of-reply and corrections policy.

Inaccuracies

F1

Parallel pg_restore waits for recorded dependencies

INACCURATEFactual · holds up after review

Claim ledger

Article says
…it doesn't have that blocking mechanism…
What is true
pg_restore schedules an entry only after its recorded dependencies finish. It creates early schema objects through one connection. The four unfinished table creations described in the article do not explain its materialized-view failure. src/bin/pg_dump/pg_backup_archiver.c:4372 and :4719 implement these controls.
So what
Keep pg_restore -j available. Diagnose the reported dependency error before replacing parallel restoration with serial restoration.
Charitable reading
Missing or externally introduced dependencies can cause failures. The article attributes this example to an absent waiting mechanism.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:4719-4723* Move all immediately-ready items from pending_list to ready_heap. * * Items are considered ready if they have no remaining dependencies and * they belong in the current restore pass. (See also reduce_dependencies, * which applies the same logic one-at-a-time.)

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

So then your materialized view at the end blows up because it doesn't have that blocking mechanism of knowing, hey, I gotta wait till these things finish before I go. So it's, pg_restore's not perfect, okay? And running into some of these things was very interesting for me the first time.

All sources and excerpts · 4
Evidence * Move all immediately-ready items from pending_list to ready_heap. * * Items are considered ready if they have no remaining dependencies and * they belong in the current restore pass. (See also reduce_dependencies, * which applies the same logic one-at-a-time.)
Evidence * Do all the early stuff in a single connection in the parent. There's no * great point in running it in parallel, in fact it will actually run * faster in a single connection because we avoid all the connection and * setup overhead. Also, pre-9.2 pg_dump versions were not very good * about showing all the dependencies of SECTION_PRE_DATA items, so we do * not risk trying to process them out-of-order.
Evidence * POST_DATA items that are shown as depending on a table need to be * re-pointed to depend on that table's data, instead. This ensures they * won't get scheduled until the data has been loaded.
Evidence if (te->depCount == 0 && _tocEntryRestorePass(te) == pass)
How the review tested this

Review: We tested the missing-dependency interpretation. Recorded dependencies block scheduling, and early table creation uses one connection. The finding preserves that qualification. We tested the missing-dependency explanation. The article instead denies waiting for dependencies, which the scheduler implements.

F20

PostgreSQL 19 vacuumdb --analyze still omits partitioned parents

INACCURATEFactual · holds up after review

Claim ledger

Article says
…vacuumdb analyze only and analyze option, they take care of parent tables, yeah, in 19…
What is true
PostgreSQL 19 includes partitioned parents in --analyze-only and --analyze-in-stages. Ordinary --analyze still selects regular tables and materialized views. src/bin/scripts/vacuuming.c:659 documents this distinction. Relying on --analyze alone leaves parent statistics stale.
So what
Use vacuumdb --analyze-only or explicitly analyze partitioned parents after vacuumdb --analyze.
Charitable reading
The --analyze-only part is correct. The sentence also explicitly includes --analyze.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuuming.c:659-664* VACUUM and ANALYZE commands. In MODE_ANALYZE or * MODE_ANALYZE_IN_STAGES modes, process regular tables, materialized * views, and partitioned tables, just like ANALYZE (with no specific * target tables) does. Otherwise, process only regular tables and * materialized views, since VACUUM skips partitioned tables when no * target tables are specified.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:48:08 ]: vacuumdb analyze only and analyze option, they take care of parent tables, yeah, in 19.

All sources and excerpts · 3
Evidence * VACUUM and ANALYZE commands. In MODE_ANALYZE or * MODE_ANALYZE_IN_STAGES modes, process regular tables, materialized * views, and partitioned tables, just like ANALYZE (with no specific * target tables) does. Otherwise, process only regular tables and * materialized views, since VACUUM skips partitioned tables when no * target tables are specified.
Evidence case 'z': vacopts.and_analyze = true; break; case 'Z': /* if analyze-in-stages is given, don't override it */ if (vacopts.mode != MODE_ANALYZE_IN_STAGES) vacopts.mode = MODE_ANALYZE;
Evidence {"analyze", no_argument, NULL, 'z'}, {"analyze-only", no_argument, NULL, 'Z'},
How the review tested this

Review: We checked whether the article meant analysis-only exclusively. It explicitly includes --analyze. This supported finding duplicates F2. We checked both option mappings. --analyze does not select the analysis-only mode that includes partition parents.

Dangerous or recipe bugsNone in this edition.

Misleading / imprecise

F4

Index creation inside the loading transaction cannot set its commit hint

IMPRECISEApplicable · holds up after review

Claim ledger

Article says
Hint bits are missing only if you don't create indexes…
What is true
Index building checks tuple visibility. A tuple inserted by the current transaction remains HEAPTUPLE_INSERT_IN_PROGRESS. A --single-transaction restore therefore cannot establish that transaction's commit hint during index creation. heapam_handler.c:1378 calls the check. heapam_visibility.c:1169 returns before setting HEAP_XMIN_COMMITTED.
So what
Retain post-commit warm-up or VACUUM ANALYZE when benchmarking a --single-transaction restore that created indexes.
Charitable reading
Default restoration usually commits table data before building indexes. The article also discusses --single-transaction restoration.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam_visibility.c:1169-1172else if (TransactionIdIsCurrentTransactionId(HeapTupleHeaderGetRawXmin(tuple))) { if (tuple->t_infomask & HEAP_XMAX_INVALID) /* xid invalid */ return HEAPTUPLE_INSERT_IN_PROGRESS;

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

That is definitely missing. But before that, statistics, right? Statistics is missing, visibility map is missing, and also hint bits are missing. Unless you... Like, this is nuance, actually. Hint bits are missing only if you don't create indexes, because indexes will read tuples. Index creation will read tuples, and it should build, hint bits. But what are... Like, what kind of statistics? What are... What is visibility map, and what is a hint bit? What are hint bits, right? Let's maybe walk through all of them, right?

All sources and excerpts · 3
Evidence else if (TransactionIdIsCurrentTransactionId(HeapTupleHeaderGetRawXmin(tuple))) { if (tuple->t_infomask & HEAP_XMAX_INVALID) /* xid invalid */ return HEAPTUPLE_INSERT_IN_PROGRESS;
Evidence switch (HeapTupleSatisfiesVacuum(heapTuple, OldestXmin, hscan->rs_cbuf))
Evidence else if (TransactionIdDidCommit(HeapTupleHeaderGetRawXmin(tuple))) SetHintBits(tuple, buffer, HEAP_XMIN_COMMITTED, HeapTupleHeaderGetRawXmin(tuple));
How the review tested this

Review: We tested the ordinary committed-load interpretation. It works, but --single-transaction remains a counterexample to the article's exclusive condition. We tested the default committed-load reading. It does not cover --single-transaction, where index creation cannot mark its own transaction committed.

Verified accurate

F8

VACUUM ANALYZE prepares restored tables for query planning and visibility checks

ACCURATEFactual · holds up after review

Claim ledger

Article says
…right after your restore is a VACUUM ANALYZE…
What is true
VACUUM ANALYZE vacuums and then analyzes each selected table. ANALYZE supplies column statistics. VACUUM establishes visibility information. Database-wide SQL processes tables sequentially, although VACUUM can parallelize index work. The command must run outside the restore transaction. doc/src/sgml/ref/vacuum.sgml:69 and :446 specify these behaviors.
Charitable reading
This is a preparation recommendation for logical restoration, not a claim that every workload needs identical maintenance.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:280-286The <productname>PostgreSQL</productname> query planner relies on statistical information about the contents of tables in order to generate good plans for queries. These statistics are gathered by the <link linkend="sql-analyze"><command>ANALYZE</command></link> command, which can be invoked by itself or as an optional step in <command>VACUUM</command>. It is important to have reasonably accurate statistics, otherwise poor choices of plans might

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Kirk [ 00:15:03 ]: So to be clear, we have all the data we need for our queries to give us the correct answer. The problem is it's not optimal, and now we're... this is we're spilling into you want this to be optimal. And I kind of want to cut to the chase a little bit and say the best thing you can do right after your restore is a VACUUM ANALYZE. If you VACUUM ANALYZE all your tables— (Nik: Yeah.) it'll create all of these things. (Nik: Yeah.) And then everything works out. And that begs one question: Why doesn't the restore do that automatically?

All sources and excerpts · 6
Evidence The <productname>PostgreSQL</productname> query planner relies on statistical information about the contents of tables in order to generate good plans for queries. These statistics are gathered by the <link linkend="sql-analyze"><command>ANALYZE</command></link> command, which can be invoked by itself or as an optional step in <command>VACUUM</command>. It is important to have reasonably accurate statistics, otherwise poor choices of plans might
Evidence Without a <replaceable class="parameter">table_and_columns</replaceable> list, <command>VACUUM</command> processes every table and materialized view in the current database that the current user has permission to vacuum. With a list, <command>VACUUM</command> processes only those table(s). </para> <para> <command>VACUUM ANALYZE</command> performs a <command>VACUUM</command> and then an <command>ANALYZE</command> for each selected table. This is a handy combination form for routine maintenance scripts. See
Evidence * reltuples: if >= 0, set reltuples to this value; else no change * * If reltuples >= 0, relpages, relallvisible, and relallfrozen are also * updated (using RelationGetNumberOfBlocks() and visibilitymap_count()). *
Evidence <command>VACUUM</command> cannot be executed inside a transaction block.
Evidence PageSetAllVisible(page); PageClearPrunable(page); (void) visibilitymap_set(blkno, vmbuffer, VISIBILITYMAP_ALL_VISIBLE | VISIBILITYMAP_ALL_FROZEN, vacrel->rel->rd_locator);
Evidence system (in most cases); it's just kept available for re-use within the same table. It also allows us to leverage multiple CPUs in order to process indexes. This feature is known as <firstterm><xref linkend="parallel-vacuum"/></firstterm>. To disable this feature, one can use <literal>PARALLEL</literal> option and specify parallel workers as zero. <command>VACUUM FULL</command> rewrites
How the review tested this

Review: We checked transaction restrictions and parallel-index exceptions. The finding includes both and treats VACUUM ANALYZE as preparation guidance. We checked transaction restrictions and parallel index work. Both caveats already qualify the VACUUM ANALYZE recommendation.

F9

Index-only scans fetch heap tuples when visibility bits are absent

ACCURATEFactual · holds up after review

Claim ledger

Article says
…index only scan, despite the name, can also inspect heap…
What is true
An index-only scan checks the page's all-visible bit. If that bit is clear, nodeIndexonlyscan.c:165 fetches the heap tuple. The map stores all-visible and all-frozen bits per heap page. plancat.c:1397 derives the planner's visibility fraction from relallvisible.
Charitable reading
The visibility map does not determine whether a tuple is visible by itself when the bit is clear.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/executor/nodeIndexonlyscan.c:165-174if (!VM_ALL_VISIBLE(scandesc->heapRelation, ItemPointerGetBlockNumber(tid), &node->ioss_VMBuffer)) { /* * Rats, we have to visit the heap to check visibility. */ InstrCountTuples2(node, 1); if (!index_fetch_heap(scandesc, node->ioss_TableSlot)) continue; /* no visible tuple, try next index entry */

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:09:36 ]: Yeah, so... Oh, how to explain this better? So statistics is for planner. Visibility map is also for planner as well, and for executor as well because indexes don't have version data. So every time we have index scan, we need to inspect heap. And index only scan, despite the name, can also inspect heap if it doesn't know anything about this tuple, status. Is it live or dead? We don't know from index itself, right?

All sources and excerpts · 3
Evidence if (!VM_ALL_VISIBLE(scandesc->heapRelation, ItemPointerGetBlockNumber(tid), &node->ioss_VMBuffer)) { /* * Rats, we have to visit the heap to check visibility. */ InstrCountTuples2(node, 1); if (!index_fetch_heap(scandesc, node->ioss_TableSlot)) continue; /* no visible tuple, try next index entry */
EvidenceThe visibility map stores two bits per heap page. The first bit, if set, indicates that the page is all-visible, or in other words that the page does not contain any tuples that need to be vacuumed. This information can also be used by <link linkend="indexes-index-only-scans"><firstterm>index-only scans</firstterm></link> to answer queries using only the index tuple. The second bit, if set, means that all tuples on the page have been frozen.
Evidence if (relallvisible == 0 || curpages <= 0) *allvisfrac = 0; else if ((double) relallvisible >= curpages) *allvisfrac = 1; else *allvisfrac = (double) relallvisible / curpages;
How the review tested this

Review: We checked whether planner estimates replace executor visibility checks. They do not. A clear map bit triggers heap access. We checked the clear-bit branch. It fetches the heap tuple, while the planner separately uses relallvisible.

F10

PostgreSQL 18 dumps relallvisible with optimizer statistics

ACCURATEFactual · holds up after review

Claim ledger

Article says
…this mechanism in Postgres 18 dumps that number…
What is true
PostgreSQL 18.0 emits relallvisible when dumping statistics. Restoration writes that value into pg_class. The executor still checks the actual visibility map. Restored estimates can therefore favor index-only scans that require heap fetches. PostgreSQL 18 excludes extended statistics data.
Charitable reading
The recommendation against statistics transfer is conservative. It does not describe an unsupported command.

Source

Source · REL_18_0 · src/bin/pg_dump/pg_dump.c:11039-11040appendPQExpBuffer(out, "\t'relallvisible', '%d'::integer", rsinfo->relallvisible);

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

So the thing is that this mechanism in Postgres 18 dumps that number, and our restore will catch it and restore it. And the planner will think that, okay, we have like, say like 100,000 pages, and all of them are visible, it will say. For example, ideal case, or half of them are, are visible. But visibility maps are not yet built. So the planner will choose, for example, index only scan, and will get the worst possible heap fetches number. It will inspect every heap, page, like behaving like index scan, which is very unexpected, and it's like skewed result for a planner, right?

All sources and excerpts · 6
Evidence appendPQExpBuffer(out, "\t'relallvisible', '%d'::integer", rsinfo->relallvisible);
Evidence If <option>--statistics</option> is specified, <command>pg_dump</command> will include most optimizer statistics in the resulting dump file. However, some statistics may not be included, such as those created explicitly with <xref linkend="sql-createstatistics"/> or custom statistics added by an extension. Therefore, it may be useful to run <command>ANALYZE</command> after restoring from a dump file to ensure
Evidence if (update_relallvisible && relallvisible != pgcform->relallvisible) { replaces[nreplaces] = Anum_pg_class_relallvisible; values[nreplaces] = UInt32GetDatum(relallvisible); nreplaces++; }
Evidence Do not dump statistics. This is the default.
Evidence if (!VM_ALL_VISIBLE(scandesc->heapRelation, ItemPointerGetBlockNumber(tid), &node->ioss_VMBuffer)) { /* * Rats, we have to visit the heap to check visibility. */ InstrCountTuples2(node, 1); if (!index_fetch_heap(scandesc, node->ioss_TableSlot)) continue; /* no visible tuple, try next index entry */
Evidence if (relallvisible == 0 || curpages <= 0) *allvisfrac = 0; else if ((double) relallvisible >= curpages) *allvisfrac = 1; else *allvisfrac = (double) relallvisible / curpages;
How the review tested this

Review: We checked PostgreSQL 18 specifically and distinguished optional statistics transfer from default dumping. Import and executor paths support the finding. We checked PostgreSQL 18 rather than applying PostgreSQL 19 behavior. Dumping estimates does not transfer the executor's visibility map.

F11

Hint bits cache transaction outcomes in tuple headers

ACCURATEFactual · holds up after review

Claim ledger

Article says
…it just caches the status of those transactions…
What is true
heapam_visibility.c:1197 tests whether xmin committed and sets HEAP_XMIN_COMMITTED. xmax can remain nonzero after an attempted deletion rolls back. WAL protection can propagate hint information through full-page images. bufmgr.c:5752 limits those images to the first relevant page change after a checkpoint.
Charitable reading
The article acknowledges that standby work can remain. WAL protection does not promise a separate record for every hint change.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ddl.sgml:1511-1516<para> The identity (transaction ID) of the deleting transaction, or zero for an undeleted row version. It is possible for this column to be nonzero in a visible row version. That usually indicates that the deleting transaction hasn't committed yet, or that an attempted deletion was rolled back.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

And this is, like, not super efficient to inspect for every tuple to inspect transaction ID status for all those transactions which are present in xmin, xmax. That's why there is a so-called, there is a mechanism, hint bits, which basically in the tuple header, it just caches the status of those transactions, xmin and then xmax, right? So because sometimes you have a live tuple, you see xmax is filled with some number, but it's just that transaction was roll— like, got rolled back, right, at the end. Means the tuple is, tuple is still alive.

All sources and excerpts · 6
Evidence <para> The identity (transaction ID) of the deleting transaction, or zero for an undeleted row version. It is possible for this column to be nonzero in a visible row version. That usually indicates that the deleting transaction hasn't committed yet, or that an attempted deletion was rolled back.
Evidence When this parameter is <literal>on</literal>, the <productname>PostgreSQL</productname> server writes the entire content of each disk page to WAL during the first modification of that page after a checkpoint, even for non-critical modifications of so-called hint bits. </para> <para> If data checksums are enabled, hint bit updates are always WAL-logged and this setting is ignored. You can use this setting to test how much extra WAL-logging would occur if your database had data checksums enabled. </para>
Evidence else if (TransactionIdDidCommit(HeapTupleHeaderGetRawXmin(tuple))) SetHintBits(tuple, buffer, HEAP_XMIN_COMMITTED, HeapTupleHeaderGetRawXmin(tuple));
Evidence * If we need to protect hint bit updates from torn writes, WAL-log a * full page image of the page. This full page image is only necessary * if the hint bit update is the first change to the page since the * last checkpoint.
Evidence XLogRegisterData(&xlrec, SizeOfHeapDelete); XLogRegisterBuffer(HEAP_DELETE_BLKREF_HEAP, buffer, REGBUF_STANDARD);
Evidence <para> <productname>PostgreSQL</productname>'s <link linkend="sql-vacuum"><command>VACUUM</command></link> command has to process each table on a regular basis for several reasons: <orderedlist> <listitem> <simpara>To recover or reuse disk space occupied by updated or deleted rows.</simpara>
How the review tested this

Review: We tested whether every hint update requires its own WAL image. The finding correctly limits image generation and describes propagation as possible. We checked whether WAL protection guarantees every later hint update reaches standbys. The finding correctly limits propagation to qualifying full-page images.

F12

pg_restore defaults differ from --single-transaction and --exit-on-error

ACCURATEFactual · holds up after review

Claim ledger

Article says
It's not a single transaction.
What is true
pg_restore normally continues after SQL errors and reports their count. --single-transaction wraps restoration in BEGIN and COMMIT. It also implies --exit-on-error and excludes multiple jobs. These options do not make VACUUM legal inside the transaction. doc/src/sgml/ref/pg_restore.sgml:191 and :535 document these distinctions.
Charitable reading
The phrase 'not ACID' describes the whole restore's lack of atomicity. Individual SQL transactions still retain their guarantees.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:191-193Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:23:10 ]: Right. I think, this option could just be, like, incompatible with single transaction. If you chose single transaction, pg_restore could fail saying, like, you chose two incompatible options. That's it. Why not? And we know, like, by default, pg_restore is not, ACID basically. It's not a single transaction. It can fail and continue and so on. That's all, like, there is also a stop on error, option, but it's different.

All sources and excerpts · 3
Evidence Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration.
Evidence Execute the restore as a single transaction (that is, wrap the emitted commands in <command>BEGIN</command>/<command>COMMIT</command>). This ensures that either all the commands complete successfully, or no changes are applied. This option implies <option>--exit-on-error</option>. It cannot be used together with <option>--create</option>, nor with multiple jobs (<option>--jobs</option>).
Evidence <command>VACUUM</command> cannot be executed inside a transaction block.
How the review tested this

Review: We distinguished whole-restore atomicity from individual transaction guarantees. The finding accurately states defaults, option implications, and incompatibilities. We tested the charitable whole-restore interpretation of atomicity. The documented defaults and option exclusions support it.

F13

Normal dumps place table definitions before COPY and indexes afterward

ACCURATEFactual · holds up after review

Claim ledger

Article says
Then DDL to create tables and everything, but not indexes.
What is true
pg_dump places table data in the data section and indexes in post-data. It emits COPY FROM stdin for ordinary table data. The archive writes initial SET commands. Validated CHECK and NOT NULL constraints are exceptions to the general post-data constraint description. pg_dump.c:2900 and pg_backup_archiver.c:3438 generate these statements.
Charitable reading
The article lists foreign keys and unique keys. It does not claim that every constraint waits until post-data.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_dump.sgml:1292-1298The data section contains actual table data, large-object contents, sequence values, and statistics for tables, materialized views, and foreign tables. Post-data items include definitions of indexes, triggers, rules, statistics for indexes, and constraints other than validated check and not-null constraints. Pre-data items include all other data definition items.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Dump includes some set commands usually, right? Then DDL to create tables and everything, but not indexes. Indexes, is not... It's not wise to create indexes in the beginning because they will slow down data load. And then it includes a bunch of COPY commands to load data to those tables, and then, indexes and constraints like foreign keys, unique keys and so on. First thing is quite IO-intensive usually, so it loads disk a lot. But indexes are both IO but a lot of also CPU intensive, so you will see CPUs involved a lot. And like, there is pg_dump, there is pg_restore. Looks simple, but something is missing. And you started jumping to visibility map.

All sources and excerpts · 4
Evidence The data section contains actual table data, large-object contents, sequence values, and statistics for tables, materialized views, and foreign tables. Post-data items include definitions of indexes, triggers, rules, statistics for indexes, and constraints other than validated check and not-null constraints. Pre-data items include all other data definition items.
Evidence printfPQExpBuffer(copyBuf, "COPY %s ", copyFrom); appendPQExpBuffer(copyBuf, "%s FROM stdin;\n", fmtCopyColumnList(tbinfo, clistBuf)); copyStmt = copyBuf->data;
Evidence ahprintf(AH, "SET statement_timeout = 0;\n"); ahprintf(AH, "SET lock_timeout = 0;\n"); ahprintf(AH, "SET idle_in_transaction_session_timeout = 0;\n");
Evidence in the following sections. </para> <sect1 id="backup-dump"> <title><acronym>SQL</acronym> Dump</title> <para> The idea behind this dump method is to generate a file with SQL commands that, when fed back to the server, will recreate the database in the same state as it was at the time of the dump. <productname>PostgreSQL</productname> provides the utility program
How the review tested this

Review: We checked constraints that precede data loading. The finding explicitly preserves validated CHECK and NOT NULL exceptions. We checked CHECK and NOT NULL exceptions. The finding states them and confines its judgment to normal dump ordering.

F14

COPY FREEZE can produce frozen rows and set both visibility-map bits

ACCURATEFactual · holds up after review

Claim ledger

Article says
There is COPY FREEZE.
What is true
COPY FREEZE creates frozen tuples when its transaction conditions hold. The table must have been created or truncated in the current subtransaction. Open cursors and older snapshots restrict its use. heapam.c:2487 sets both visibility-map bits for eligible pages. This produces the described state without invoking a separate VACUUM command.
Charitable reading
The discussion proposes a future restore optimization. It does not claim pg_restore already rewrites COPY commands.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/copy.sgml:264-269Requests copying the data with rows already frozen, just as they would be after running the <command>VACUUM FREEZE</command> command. This is intended as a performance option for initial data loading. Rows will be frozen only if the table being loaded has been created or truncated in the current subtransaction, there are no cursors open and there are no older snapshots held by this transaction. It is

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:38:23 ]: Also suggests something. There is COPY FREEZE. I actually learned... I forgot about it. I learned about it some long, like, time ago, because it's an old thing, COPY FREEZE. So copy— (Kirk: Yeah.) can have freeze option, and it'll run vacuum freeze of building visibility map, for both bits. As I mentioned, there are two bits for every page. All visible mean, means that all tuples in this page are visible to all transactions, and all frozen, which means that all transaction IDs, xmin, xmax, xmin, right? They are in the past. Even if they might look like from the future, they are in the past. This is freezing. Important job because... for vacuum because we have four-byte transaction IDs.

All sources and excerpts · 3
Evidence Requests copying the data with rows already frozen, just as they would be after running the <command>VACUUM FREEZE</command> command. This is intended as a performance option for initial data loading. Rows will be frozen only if the table being loaded has been created or truncated in the current subtransaction, there are no cursors open and there are no older snapshots held by this transaction. It is
Evidence PageSetAllVisible(page); PageClearPrunable(page); (void) visibilitymap_set(BufferGetBlockNumber(buffer), vmbuffer, VISIBILITYMAP_ALL_VISIBLE | VISIBILITYMAP_ALL_FROZEN, relation->rd_locator);
Evidence The reason that periodic vacuuming solves the problem is that <command>VACUUM</command> will mark rows as <emphasis>frozen</emphasis>, indicating that they were inserted by a transaction that committed sufficiently far in the past that the effects of the inserting transaction are certain to be visible to all current and future transactions.
How the review tested this

Review: We checked whether COPY FREEZE literally invokes VACUUM. The finding correctly describes equivalent state changes and conditions instead. We checked eligibility restrictions and whether COPY literally invokes VACUUM. The finding correctly describes equivalent tuple state without a separate VACUUM.

F15

Autovacuum does not analyze partition parents

ACCURATEFactual · holds up after review

Claim ledger

Article says
…autovacuum doesn't take care of root tables in partition…
What is true
Autovacuum processes partitions but does not analyze their partitioned parents. Manual parent analysis remains necessary. Automatic vacuuming uses a cost delay of 2 milliseconds by default. Its independent scheduling cannot guarantee completion before the first post-restore query. doc/src/sgml/maintenance.sgml:1016 and config.sgml:9674 document these limits.
Charitable reading
The PostgreSQL 19 vacuumdb improvement does not change autovacuum's parent-table behavior.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:280-286The <productname>PostgreSQL</productname> query planner relies on statistical information about the contents of tables in order to generate good plans for queries. These statistics are gathered by the <link linkend="sql-analyze"><command>ANALYZE</command></link> command, which can be invoked by itself or as an optional step in <command>VACUUM</command>. It is important to have reasonably accurate statistics, otherwise poor choices of plans might

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

vacuumdb doesn't take care, and I think autovacuum doesn't take care of root tables in partition, parent tables of partition tables, which is improved in Postgres 19, but not fully. So which means that if you have a partition table, if, and you forgot VACUUM ANALYZE manually, This is a big operational gap Postgres right now has, and obviously, like, it's not enough, and I don't want to wait sometimes, right? Another point is that I just recovered from dump. I'm checking some query right away, and I see bad performance because autovacuum is asynchronous by nature. So yeah, and it's like opportunistic, approach, asynchronous, and in many cases it's not enough.

All sources and excerpts · 4
Evidence The <productname>PostgreSQL</productname> query planner relies on statistical information about the contents of tables in order to generate good plans for queries. These statistics are gathered by the <link linkend="sql-analyze"><command>ANALYZE</command></link> command, which can be invoked by itself or as an optional step in <command>VACUUM</command>. It is important to have reasonably accurate statistics, otherwise poor choices of plans might
Evidence Partitioned tables do not directly store tuples and consequently are not processed by autovacuum. (Autovacuum does process table partitions just like other tables.) Unfortunately, this means that autovacuum does not run <command>ANALYZE</command> on partitioned tables, and this can cause suboptimal plans for queries that reference partitioned table statistics. You can work around this problem by manually running <command>ANALYZE</command> on partitioned tables when they are first populated, and again whenever the distribution
Evidence Specifies the cost delay value that will be used in automatic <command>VACUUM</command> operations. If -1 is specified, the regular <xref linkend="guc-vacuum-cost-delay"/> value will be used. If this value is specified without units, it is taken as milliseconds. The default value is 2 milliseconds.
Evidence The autovacuum daemon does not issue <command>ANALYZE</command> commands for partitioned tables. Inheritance parents will only be analyzed if the parent itself is changed - changes to child tables do not trigger autoanalyze on the parent table. If your queries require statistics on parent tables for proper planning, it is necessary to periodically run a manual <command>ANALYZE</command> on those tables to keep the statistics up to date.
How the review tested this

Review: We checked whether PostgreSQL 19 vacuumdb changes also change autovacuum. Parent analysis remains manual, and the documented delay is 2 milliseconds. We tested whether vacuumdb's PostgreSQL 19 improvement changes autovacuum. The documentation still excludes partition-parent autoanalysis.

F16

vacuumdb -j runs concurrent maintenance commands

ACCURATEFactual · holds up after review

Claim ledger

Article says
…the -j option allows you to run multiple concurrently…
What is true
vacuumdb -j runs multiple commands through separate connections. --analyze adds analysis to vacuuming. --analyze-only computes statistics without vacuuming. This provides concurrency across tables. It differs from VACUUM's optional parallel index processing. doc/src/sgml/ref/vacuumdb.sgml:229 and :458 describe the modes.
Charitable reading
The conversation uses 'threads' informally. The operational feature is concurrent database commands.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuumdb.sgml:229-232Execute the vacuum or analyze commands in parallel by running <replaceable class="parameter">njobs</replaceable> commands simultaneously. This option may reduce the processing time but it also increases the load on the database server.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Kirk [ 00:47:37 ]: And then again, vacuumdb is the better choice because the -j option allows you to run multiple concurrently.

All sources and excerpts · 3
Evidence Execute the vacuum or analyze commands in parallel by running <replaceable class="parameter">njobs</replaceable> commands simultaneously. This option may reduce the processing time but it also increases the load on the database server.
Evidence <term><option>--analyze</option></term> <listitem> <para> Also calculate statistics for use by the optimizer. </para> </listitem> </varlistentry> <varlistentry> <term><option>-Z</option></term> <term><option>--analyze-only</option></term> <listitem> <para> Only calculate statistics for use by the optimizer (no vacuum). </para> </listitem>
Evidence system (in most cases); it's just kept available for re-use within the same table. It also allows us to leverage multiple CPUs in order to process indexes. This feature is known as <firstterm><xref linkend="parallel-vacuum"/></firstterm>. To disable this feature, one can use <literal>PARALLEL</literal> option and specify parallel workers as zero. <command>VACUUM FULL</command> rewrites
How the review tested this

Review: We checked whether -j merely enables parallel index processing. It runs concurrent commands, as the finding states. We checked whether -j means parallel index processing. The finding correctly distinguishes concurrent commands from internal VACUUM workers.

F17

PostgreSQL 19 can set visibility bits during qualifying primary reads

ACCURATEFactual · holds up after review · also flagged 1 more time

Claim ledger

Article says
…by reading at read time, but also visibility maps…
What is true
PostgreSQL 19 enables visibility-map updates during qualifying on-access pruning for read-only relations. pruneheap.c:363 enables HEAP_PAGE_PRUNE_SET_VM. The function returns during recovery at :285. Standby reads therefore do not perform this update. Eligibility checks mean a first read does not guarantee coverage of every page.
Charitable reading
The article corrects the initial claim to PostgreSQL 19 and later says reads can create visibility maps.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/pruneheap.c:363-369 */ params.options = HEAP_PAGE_PRUNE_ALLOW_FAST_PATH; if (rel_read_only) params.options |= HEAP_PAGE_PRUNE_SET_VM; heap_page_prune_and_freeze(&params, &presult, &dummy_off_loc, NULL, NULL);

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

And in Postgres 19, there is optimization. Optimization says that not only hint bits can be created by select, by reading at read time, but also visibility maps. (Kirk: Oh.) Yes.

All sources and excerpts · 2
Evidence */ params.options = HEAP_PAGE_PRUNE_ALLOW_FAST_PATH; if (rel_read_only) params.options |= HEAP_PAGE_PRUNE_SET_VM; heap_page_prune_and_freeze(&params, &presult, &dummy_off_loc, NULL, NULL);
Evidence if (RecoveryInProgress()) return;
How the review tested this

Review: We checked recovery and eligibility restrictions. The finding preserves both and does not promise complete map coverage after one read. We checked recovery and eligibility restrictions. The finding already limits the capability to qualifying primary reads.

F18

pg_upgrade transfers visibility-map files

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Where visibility map is preserved.
What is true
pg_upgrade transfers the _vm fork alongside relation files. src/bin/pg_upgrade/relfilenumber.c:531 handles free-space and visibility-map forks. That preserves information absent from an ordinary logical dump. This supports the article's distinction between upgrade statistics transfer and logical restoration.
Charitable reading
The distinction concerns physical relation transfer. It does not establish the feature developers' historical intent.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/bin/pg_upgrade/relfilenumber.c:531-534 * Copy/link any fsm and vm files, if they exist */ transfer_relfile(&maps[mapnum], "_fsm", vm_must_add_frozenbit); transfer_relfile(&maps[mapnum], "_vm", vm_must_add_frozenbit);

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

You fool yourself basically, right? You fool your own planner. But then I realized that this feature was not developed for dumping and restoring statistics for regular dumps, logical, logical backups, right? It was developed specifically for pg_upgrade. (Kirk: Right.) Where visibility map is preserved.

All sources and excerpts · 1
Evidence * Copy/link any fsm and vm files, if they exist */ transfer_relfile(&maps[mapnum], "_fsm", vm_must_add_frozenbit); transfer_relfile(&maps[mapnum], "_vm", vm_must_add_frozenbit);
How the review tested this

Review: We checked actual fork transfer rather than inferred developer intent. pg_upgrade explicitly transfers _vm files. We checked whether physical transfer includes the _vm fork. The source explicitly transfers it when present.

F19

Verified accurate: “…data checksums enabled, which is default if you create cluster recently…”

ACCURATEFactual · partly holds after review

Claim ledger

Article says
…data checksums enabled, which is default if you create cluster recently…
What is true
initdb enables data checksums by default in PostgreSQL 18 and 19. doc/src/sgml/ref/initdb.sgml:268 states this in both versions. Checksums help detect I/O corruption that would otherwise remain silent.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/initdb.sgml:268-271Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. This is enabled by default; use <xref linkend="app-initdb-no-data-checksums"/> to disable checksums.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

And then replicas don't know. Like, they don't have, those hint bits, and they need to take care of it by themselves, each replica actually, which is crazy. But if you enable wal_log_hints or you have data checksums enabled, which is default if you create cluster recently, you probably have data checksums enabled, then it's already done on the primary and propagated to all standbys, so everything should be fine. Hint bits are there. There are some nuances there still. Some writes might happen, but not as, as before. So the interesting part about this, like after dump restore, we don't have statistics, we don't have visibility maps, and we don't have hint bits, which is, I mean, like—

All sources and excerpts · 3
Evidence Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. This is enabled by default; use <xref linkend="app-initdb-no-data-checksums"/> to disable checksums.
Evidence While turning off <varname>fsync</varname> is often a performance benefit, this can result in unrecoverable data corruption in the event of a power failure or system crash. Thus it is only advisable to turn off <varname>fsync</varname> if you can easily recreate your entire database from external data.
Evidence Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. This is enabled by default; use <xref linkend="app-initdb-no-data-checksums"/> to disable checksums.
How the review tested this

Review: We checked both version floors. The default is supported. The cited article span does not cover the separate fsync humor discussion.

F21

PostgreSQL 18 added optional statistics transfer

ACCURATEFactual · holds up after review

Claim ledger

Article says
…It happened in Postgres 18…
What is true
REL_18_0 documents pg_dump --statistics. doc/src/sgml/release-18.sgml:3146 records the option's introduction. The article names the correct major version.
Charitable reading
We checked the stated PostgreSQL 18 version floor.

Source

Source · REL_18_0 · doc/src/sgml/release-18.sgml:3146-3147Add <xref linkend="app-pgdump"/> option <option>--statistics</option> (Jeff Davis)

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:04:39 ]: It happened in Postgres 18, right? Yeah.

All sources and excerpts · 2
Evidence Add <xref linkend="app-pgdump"/> option <option>--statistics</option> (Jeff Davis)

Version note: Checked the article's PostgreSQL 18 version floor.

Evidence <term><option>--statistics</option></term> <listitem> <para> Dump statistics.

Version note: Checked the article's PostgreSQL 18 version floor.

How the review tested this

Review: We checked the version floor against REL_18_0 release notes. They explicitly introduce pg_dump --statistics. We checked the PostgreSQL 18 release notes and option documentation. Both support the stated introduction.

F24

VACUUM cannot execute inside a transaction block

ACCURATEFactual · holds up after review

Claim ledger

Article says
Vacuum cannot be included inside a transaction block.
What is true
doc/src/sgml/ref/vacuum.sgml:446 states that VACUUM cannot execute inside a transaction block. The article correctly identifies the constraint on automatic post-restore maintenance.
Charitable reading
The article separately discusses running maintenance after the restore transaction commits.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:446-446<command>VACUUM</command> cannot be executed inside a transaction block.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:22:38 ]: Right. I have another tough question. What if we use a single transaction option, during pg_restore? Vacuum cannot be included inside a transaction block.

All sources and excerpts · 1
Evidence <command>VACUUM</command> cannot be executed inside a transaction block.
How the review tested this

Review: We checked the distinction between transaction blocks and maintenance after COMMIT. The documented prohibition matches the article's claim. We checked the exact VACUUM restriction. The documentation directly supports the article's statement.

F25

Verified accurate: “…a stop on error, option, but it's different…”

ACCURATEFactual · holds up after review

Claim ledger

Article says
…a stop on error, option, but it's different…
What is true
pg_restore --exit-on-error stops when SQL execution encounters an error. Its default continues and reports an error count. doc/src/sgml/ref/pg_restore.sgml:191 confirms this behavior. Stopping alone does not undo earlier committed work.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:535-541Execute the restore as a single transaction (that is, wrap the emitted commands in <command>BEGIN</command>/<command>COMMIT</command>). This ensures that either all the commands complete successfully, or no changes are applied. This option implies <option>--exit-on-error</option>. It cannot be used together with <option>--create</option>, nor with multiple jobs (<option>--jobs</option>).

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:23:10 ]: Right. I think, this option could just be, like, incompatible with single transaction. If you chose single transaction, pg_restore could fail saying, like, you chose two incompatible options. That's it. Why not? And we know, like, by default, pg_restore is not, ACID basically. It's not a single transaction. It can fail and continue and so on. That's all, like, there is also a stop on error, option, but it's different.

All sources and excerpts · 2
Evidence Execute the restore as a single transaction (that is, wrap the emitted commands in <command>BEGIN</command>/<command>COMMIT</command>). This ensures that either all the commands complete successfully, or no changes are applied. This option implies <option>--exit-on-error</option>. It cannot be used together with <option>--create</option>, nor with multiple jobs (<option>--jobs</option>).
Evidence Exit if an error is encountered while sending SQL commands to the database. The default is to continue and to display a count of errors at the end of the restoration.
How the review tested this

Review: We checked whether stopping on error implies rollback. The separate --single-transaction guarantee confirms the distinction. We compared stopping on error with single-transaction restoration. Only the latter promises all-or-nothing restoration.

F26

COPY FREEZE requires creation or truncation in the current subtransaction

ACCURATEFactual · holds up after review

Claim ledger

Article says
There are limitations for COPY FREEZE.
What is true
COPY FREEZE requires creation or truncation in the current subtransaction. Open cursors and older snapshots impose additional restrictions. doc/src/sgml/ref/copy.sgml:267 documents these conditions and excludes partitioned and foreign tables.
Charitable reading
The article identifies creation and truncation as prerequisites rather than presenting a complete COPY FREEZE recipe.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/copy.sgml:267-271Rows will be frozen only if the table being loaded has been created or truncated in the current subtransaction, there are no cursors open and there are no older snapshots held by this transaction. It is currently not possible to perform a <command>COPY FREEZE</command> on a partitioned table or foreign table.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:39:39 ]: Well, it, maybe it could be implemented in pg_dump because it's a copy option. So pg_dump could generate— (Kirk: Right.) COPY FREEZE, or maybe you are right. Maybe we could just, substitute COPY commands with COPY FREEZE. There are limitations for COPY FREEZE. It should be, like, table should be created right here in this transaction, or truncate should happen this transaction. So I think, yeah, COPY FREEZE could be used if it's pg_restore with single transaction option maybe.

All sources and excerpts · 1
Evidence Rows will be frozen only if the table being loaded has been created or truncated in the current subtransaction, there are no cursors open and there are no older snapshots held by this transaction. It is currently not possible to perform a <command>COPY FREEZE</command> on a partitioned table or foreign table.
How the review tested this

Review: We checked omitted COPY FREEZE prerequisites. The finding supplies cursor, snapshot, and table-type restrictions without treating the proposal as executable. We checked all listed COPY FREEZE restrictions. The quoted documentation supports each restriction.

F28

The visibility map reserves two bits per heap page

ACCURATEFactual · holds up after review

Claim ledger

Article says
…stores two bits for every page…
What is true
BITS_PER_HEAPBLOCK equals 2 in src/include/access/visibilitymapdefs.h:17. The article gives the correct logical storage density.
Charitable reading
The statement describes visibility-map storage, not physical write volume.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/include/access/visibilitymapdefs.h:17-17#define BITS_PER_HEAPBLOCK 2

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…stores two bits for every page…
All sources and excerpts · 1
Evidence#define BITS_PER_HEAPBLOCK 2
How the review tested this

Review: We distinguished logical map density from disk-write volume. BITS_PER_HEAPBLOCK directly confirms two bits per heap page. We checked logical map density against BITS_PER_HEAPBLOCK. The value is 2.

F29

Tuple transaction IDs have a four-byte width

ACCURATEFactual · holds up after review

Claim ledger

Article says
…we have four-byte transaction IDs…
What is true
src/include/c.h:742 defines TransactionId as uint32. The article correctly gives its width as four bytes.
Charitable reading
The freezing discussion concerns tuple transaction IDs, not epoch-extended transaction identifiers.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/include/c.h:742-742typedef uint32 TransactionId;

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:38:23 ]: Also suggests something. There is COPY FREEZE. I actually learned... I forgot about it. I learned about it some long, like, time ago, because it's an old thing, COPY FREEZE. So copy— (Kirk: Yeah.) can have freeze option, and it'll run vacuum freeze of building visibility map, for both bits. As I mentioned, there are two bits for every page. All visible mean, means that all tuples in this page are visible to all transactions, and all frozen, which means that all transaction IDs, xmin, xmax, xmin, right? They are in the past. Even if they might look like from the future, they are in the past. This is freezing. Important job because... for vacuum because we have four-byte transaction IDs.

All sources and excerpts · 1
Evidencetypedef uint32 TransactionId;
How the review tested this

Review: We tested whether epoch-extended identifiers invalidate the claim. The freezing discussion concerns tuple TransactionId values, defined as uint32. We checked TransactionId rather than FullTransactionId. Its uint32 definition supports four bytes.

F30

The example uses the default 8-KiB heap page

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Eight kilobyte page…
What is true
configure.ac:250 defaults blocksize to 8. Line 255 maps that setting to 8192 bytes, or 8 KiB.
Charitable reading
The example assumes PostgreSQL's default page size.

Source

Source · REL_19_STABLE@4c0e3c1bfc · configure.ac:250-255 [blocksize=8]) case ${blocksize} in 1) BLCKSZ=1024;; 2) BLCKSZ=2048;; 4) BLCKSZ=4096;; 8) BLCKSZ=8192;;

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…Eight kilobyte page…
All sources and excerpts · 1
Evidence [blocksize=8]) case ${blocksize} in 1) BLCKSZ=1024;; 2) BLCKSZ=2048;; 4) BLCKSZ=4096;; 8) BLCKSZ=8192;;
How the review tested this

Review: We checked custom block-size alternatives. The finding correctly identifies 8 KiB as the default used by the example. We checked configurable page sizes. The finding correctly identifies 8 KiB as the default used by this example.

F31

Eight GiB contains approximately one million heap pages

ACCURATEFactual · holds up after review

Claim ledger

Article says
…if you have eight gigabytes, okay, it's a million bits…
What is true
Eight GiB contains 1.05 million 8-KiB heap pages (derived: 8 × 2^30 / 8192). One all-visible flag per page gives approximately one million flags. The complete two-bit map requires approximately 256 KiB before page overhead.
Charitable reading
The speaker explicitly calls the estimate rough. It counts one all-visible flag per heap page.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/include/access/visibilitymapdefs.h:17-17#define BITS_PER_HEAPBLOCK 2

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…if you have eight gigabytes, okay, it's a million bits…
All sources and excerpts · 2
Evidence#define BITS_PER_HEAPBLOCK 2
Evidence [blocksize=8]) case ${blocksize} in 1) BLCKSZ=1024;; 2) BLCKSZ=2048;; 4) BLCKSZ=4096;; 8) BLCKSZ=8192;;
How the review tested this

Review: We recalculated 8 GiB divided by 8 KiB: 1,048,576 pages. The two-bit map requires 256 KiB before overhead. We recalculated 8 GiB divided by 8 KiB. The result is 1,048,576 pages and 256 KiB of two-bit flags.

F32

Collected statistics support inequality selectivity estimates

ACCURATEFactual · holds up after review

Claim ledger

Article says
…10% below the highest number on an ID column, it can estimate…
What is true
src/backend/utils/adt/selfuncs.c:762 calls ineq_histogram_selectivity. PostgreSQL can estimate the inequality described. A 10% distance from the maximum does not promise 10% selectivity.
Charitable reading
The speaker describes an estimate after collecting statistics and states a dense-packing assumption.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/utils/adt/selfuncs.c:762-762hist_selec = ineq_histogram_selectivity(root, vardata,

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…10% below the highest number on an ID column, it can estimate…
All sources and excerpts · 1
Evidence hist_selec = ineq_histogram_selectivity(root, vardata,
How the review tested this

Review: We tested whether numerical distance guarantees row selectivity. The finding rejects that guarantee and verifies only histogram-based estimation. We tested whether the claim promises uniform density. It says PostgreSQL estimates, and the finding preserves that distinction.

F33

The restored page-count example yields a 100% estimated visibility fraction

ACCURATEFactual · holds up after review

Claim ledger

Article says
…100,000 pages, and all of them are visible…
What is true
PostgreSQL 18 imports relallvisible into pg_class. tableam.c:757 sets allvisfrac to 1 when relallvisible reaches the current page count. The example's 100,000 visible pages among 100,000 heap pages yields 100% estimated visibility.
Charitable reading
The 100,000-page count is a hypothetical example, not a reported measurement.

Source

Source · REL_18_6 · src/backend/access/table/tableam.c:757-758else if ((double) relallvisible >= curpages) *allvisfrac = 1;

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

So the thing is that this mechanism in Postgres 18 dumps that number, and our restore will catch it and restore it. And the planner will think that, okay, we have like, say like 100,000 pages, and all of them are visible, it will say. For example, ideal case, or half of them are, are visible. But visibility maps are not yet built. So the planner will choose, for example, index only scan, and will get the worst possible heap fetches number. It will inspect every heap, page, like behaving like index scan, which is very unexpected, and it's like skewed result for a planner, right?

All sources and excerpts · 2
Evidence else if ((double) relallvisible >= curpages) *allvisfrac = 1;

Version note: PostgreSQL 18 statistics example.

Evidence replaces[nreplaces] = Anum_pg_class_relallvisible; values[nreplaces] = UInt32GetDatum(relallvisible);

Version note: PostgreSQL 18 statistics import.

How the review tested this

Review: We checked both the imported field and the ratio. Equal counts yield 100% estimated visibility, without proving actual page visibility. We checked the 18.6 evidence against the 18.0 calculation. Both yield an estimated visibility fraction of 1.

Notes

7 not graded: findings no reader would act on differently
F2

Note: “…vacuumdb analyze only and analyze option, they take care of parent tables…”

NOTEpartly holds after review

Claim ledger

Article says
…vacuumdb analyze only and analyze option, they take care of parent tables…
What is true
PostgreSQL 19 vacuumdb --analyze omits partition parents from its default selection. --analyze-only includes them. This repeats F20. The evidence establishes missing statistics and possible planning costs, not incorrect query results.
So what
Run vacuumdb --analyze-only after vacuumdb --analyze, or analyze partition parents explicitly, including on PostgreSQL 19.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuuming.c:666-677if (vacopts->mode == MODE_ANALYZE || vacopts->mode == MODE_ANALYZE_IN_STAGES) appendPQExpBufferStr(&catalog_query, " AND c.relkind OPERATOR(pg_catalog.=) ANY (array[" CppAsString2(RELKIND_RELATION) ", " CppAsString2(RELKIND_MATVIEW) ", " CppAsString2(RELKIND_PARTITIONED_TABLE) "])\n"); else appendPQExpBufferStr(&catalog_query, " AND c.relkind OPERATOR(pg_catalog.=) ANY (array[" CppAsString2(RELKIND_RELATION) ", " CppAsString2(RELKIND_MATVIEW) "])\n");

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Nik [ 00:48:08 ]: vacuumdb analyze only and analyze option, they take care of parent tables, yeah, in 19.

All sources and excerpts · 4
Evidence if (vacopts->mode == MODE_ANALYZE || vacopts->mode == MODE_ANALYZE_IN_STAGES) appendPQExpBufferStr(&catalog_query, " AND c.relkind OPERATOR(pg_catalog.=) ANY (array[" CppAsString2(RELKIND_RELATION) ", " CppAsString2(RELKIND_MATVIEW) ", " CppAsString2(RELKIND_PARTITIONED_TABLE) "])\n"); else appendPQExpBufferStr(&catalog_query, " AND c.relkind OPERATOR(pg_catalog.=) ANY (array[" CppAsString2(RELKIND_RELATION) ", " CppAsString2(RELKIND_MATVIEW) "])\n");
Evidence case 'z': vacopts.and_analyze = true; break; case 'Z': /* if analyze-in-stages is given, don't override it */ if (vacopts.mode != MODE_ANALYZE_IN_STAGES) vacopts.mode = MODE_ANALYZE; break;
Evidence {"analyze", no_argument, NULL, 'z'}, {"analyze-only", no_argument, NULL, 'Z'},
Evidence * VACUUM and ANALYZE commands. In MODE_ANALYZE or * MODE_ANALYZE_IN_STAGES modes, process regular tables, materialized * views, and partitioned tables, just like ANALYZE (with no specific * target tables) does. Otherwise, process only regular tables and * materialized views, since VACUUM skips partitioned tables when no * target tables are specified.
How the review tested this

Review: F2 duplicates F20. Missing parent statistics can impair plans, but these sources do not establish silent wrong results. Grade F20 once. We checked whether --analyze selects an analysis-only mode. It does not. The default relation filter excludes partition parents.

F3

Note: “They begin a transaction, they truncate the table, and then they do the copy data…”

NOTEpartly holds after review

Claim ledger

Article says
They begin a transaction, they truncate the table, and then they do the copy data…
What is true
pg_restore truncates before COPY for parallel restoration of tables created during that run, excluding load-via-partition-root. Serial restoration does not use this path. src/bin/pg_dump/pg_backup_archiver.c:1015 supplies these conditions. The article describes an existing path while discussing a proposed optimization and later acknowledges COPY FREEZE restrictions.
So what
Check the COPY transaction's creation or truncation conditions before designing a COPY FREEZE substitution.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:1015-1016use_truncate = is_parallel && te->created && !is_load_via_partition_root(te);

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article · section “Dump/restore done. Now what?”

In the article

excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · open in article ↗ (opens in new tab)

Dump/restore done. Now what?

Kirk [ 00:37:57 ]: I wouldn't want it to do this. But the pg_restore construct, right? The... If you're... And they do it in a single transaction, by the way. I dug into the code. (Nik: Yeah.) They truncate the table. They begin a transaction, they truncate the table, and then they do the copy data— (Nik: Right.) on the restore, on the pg_restore side, so that if it fails, it rolls back to empty— (Nik: Right. Right.) which is actually a faster fail.

All sources and excerpts · 2
Evidence use_truncate = is_parallel && te->created && !is_load_via_partition_root(te);
Evidence Requests copying the data with rows already frozen, just as they would be after running the <command>VACUUM FREEZE</command> command. This is intended as a performance option for initial data loading. Rows will be frozen only if the table being loaded has been created or truncated in the current subtransaction, there are no cursors open and there are no older snapshots held by this transaction. It is
How the review tested this

Review: The described path exists. The surrounding discussion proposes COPY FREEZE and acknowledges restrictions. An omitted mode qualification warrants a note. We checked the ordinary parallel-restore reading. It fits that case, but the article omits conditions needed for its proposed substitution.

F5

Note: “…if we delete some tuple It just marks xmin…”

NOTEpartly holds after review

Claim ledger

Article says
…if we delete some tuple It just marks xmin…
What is true
DELETE records the deleting transaction in xmax. src/backend/access/heap/heapam.c:3065 calls HeapTupleHeaderSetXmax. doc/src/sgml/ddl.sgml:1511 describes the deleting transaction identifier. The article says xmin instead.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam.c:3065-3065HeapTupleHeaderSetXmax(tp.t_data, new_xmax);

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…if we delete some tuple It just marks xmin…
All sources and excerpts · 2
Evidence HeapTupleHeaderSetXmax(tp.t_data, new_xmax);
Evidence <para> The identity (transaction ID) of the deleting transaction, or zero for an undeleted row version. It is possible for this column to be nonzero in a visible row version. That usually indicates that the deleting transaction hasn't committed yet, or that an attempted deletion was rolled back.
How the review tested this

Review: We checked the spoken-reversal explanation. The surrounding passage repeats xmin. The cited excerpts establish xmax behavior but do not establish the xmin definition.

F6

Checksums detect corruption rather than prevent it

NOTEholds up after review

Claim ledger

Article says
…you will get data corruption without them…
What is true
Checksums help detect corruption from the I/O system. Disabling checksums does not itself cause corruption. doc/src/sgml/ref/initdb.sgml:268 describes detection. The recommendation to enable checksums remains supported.
Charitable reading
The sentence can emphasize the risk of undetected corruption. Its literal claim confuses detection with prevention.

Source

Source · REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/initdb.sgml:268-271Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. This is enabled by default; use <xref linkend="app-initdb-no-data-checksums"/> to disable checksums.

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…you will get data corruption without them…
All sources and excerpts · 1
Evidence Use checksums on data pages to help detect corruption by the I/O system that would otherwise be silent. This is enabled by default; use <xref linkend="app-initdb-no-data-checksums"/> to disable checksums.
How the review tested this

Review: We read the sentence as emphasizing undetected corruption. The note preserves the checksum recommendation and corrects only detection versus causation. We tested the warning about undetected corruption. That charitable reading supports keeping the detection distinction as a note.

F7

Note: “…the database will automatically keep track of the most minimal value…”

NOTEpartly holds after review

Claim ledger

Article says
…the database will automatically keep track of the most minimal value…
What is true
The planner can fetch actual minimum and maximum values from a suitable B-tree index. src/backend/utils/adt/selfuncs.c:6933 describes that operation. This excerpt does not establish whether PostgreSQL separately maintains endpoint statistics.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/utils/adt/selfuncs.c:6933-6940* get_actual_variable_range * Attempt to identify the current *actual* minimum and/or maximum * of the specified variable, by looking for a suitable btree index * and fetching its low and/or high values. * If successful, store values in *min and *max, and return true. * (Either pointer can be NULL if that endpoint isn't needed.) * If unsuccessful, return false. *

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…the database will automatically keep track of the most minimal value…
All sources and excerpts · 1
Evidence * get_actual_variable_range * Attempt to identify the current *actual* minimum and/or maximum * of the specified variable, by looking for a suitable btree index * and fetching its low and/or high values. * If successful, store values in *min and *max, and return true. * (Either pointer can be NULL if that endpoint isn't needed.) * If unsuccessful, return false. *
How the review tested this

Review: We tested whether endpoint retrieval disproves separately maintained statistics. E-29 establishes retrieval but does not establish the absence of another mechanism.

F23

Note: “…extended statistics won't be dumped…”

NOTEpartly holds after review

Claim ledger

Article says
…extended statistics won't be dumped…
What is true
PostgreSQL 18 pg_dump documentation warns that --statistics may omit explicitly created statistics. E-35 supports that qualification. E-87 describes pg_upgrade and does not establish pg_dump behavior.

Source

Source · REL_18_0 · doc/src/sgml/ref/pg_dump.sgml:1702-1707If <option>--statistics</option> is specified, <command>pg_dump</command> will include most optimizer statistics in the resulting dump file. However, some statistics may not be included, such as those created explicitly with <xref linkend="sql-createstatistics"/> or custom statistics added by an extension. Therefore, it may be useful to run <command>ANALYZE</command> after restoring from a dump file to ensure

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…extended statistics won't be dumped…
All sources and excerpts · 2
Evidence If <option>--statistics</option> is specified, <command>pg_dump</command> will include most optimizer statistics in the resulting dump file. However, some statistics may not be included, such as those created explicitly with <xref linkend="sql-createstatistics"/> or custom statistics added by an extension. Therefore, it may be useful to run <command>ANALYZE</command> after restoring from a dump file to ensure
Evidence Extended statistics are not preserved. Also add <application>pg_upgrade</application> option <option>--no-statistics</option> to disable statistics preservation.

Version note: The article discusses PostgreSQL 18 statistics transfer.

How the review tested this

Review: E-87 discusses pg_upgrade, not pg_dump. E-35 supports a narrower qualification about explicitly created statistics. We distinguished extended-statistics definitions from collected data. E-35 corroborates the dump limitation beyond E-87's upgrade discussion.

F27

Note: “It's just one bit for one page.”

NOTEpartly holds after review

Claim ledger

Article says
It's just one bit for one page.
What is true
PostgreSQL 19 can dirty heap and visibility-map buffers and generate WAL during on-access maintenance. E-98 and E-99 establish those operations. They do not quantify additional physical I/O beyond hint-bit processing or establish that the article understates that incremental cost.
So what
Size first-read I/O from dirty heap pages, visibility-map pages, and WAL instead of counting visibility bits.

Source

Source · REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/pruneheap.c:1352-1359MarkBufferDirty(prstate.buffer); /* * Emit a WAL XLOG_HEAP2_PRUNE* record showing what we did */ if (RelationNeedsWAL(prstate.relation)) { log_heap_prune_and_freeze(prstate.relation, prstate.buffer,

Not graded: no reader would act differently on it.

Review correction: see "How the review tested this" below.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)It's just one bit for one page.
All sources and excerpts · 2
Evidence MarkBufferDirty(prstate.buffer); /* * Emit a WAL XLOG_HEAP2_PRUNE* record showing what we did */ if (RelationNeedsWAL(prstate.relation)) { log_heap_prune_and_freeze(prstate.relation, prstate.buffer,
Evidence map[mapByte] |= (flags << mapOffset); MarkBufferDirty(vmBuf);
How the review tested this

Review: We tested incremental I/O after hint-bit work. Dirty-buffer calls do not establish extra physical writes or refute the qualitative cost comparison. We tested the logical-flag interpretation. That count is valid, but the surrounding argument uses it to estimate physical writes.

More in this report

Section checks · 18 sections

Section checks

AspectGradeFindingsCoverage
Transactions and parallel restoreB+1 inaccuracy · 2 verified-accurate91% of claims (11 of 12)
Partitioned tablesB+1 inaccuracy60% of claims (3 of 5, plus 2 that need data we do not have)
Restore transactionsAnone100% of claims (2 of 2, plus 2 that need data we do not have)
Index creationA1 imprecise100% of claims (2 of 2)
Hint bitsA1 verified-accurate72% of claims (16 of 22, plus 1 that need data we do not have)
ChecksumsA1 verified-accurate85% of claims (6 of 7)
Planner statisticsA1 verified-accurate87% of claims (7 of 8, plus 5 that need data we do not have)
Post-restore maintenanceA1 verified-accurate57% of claims (4 of 7)provisional
Visibility mapA4 verified-accurate68% of claims (11 of 16)
Statistics transferA2 verified-accurate75% of claims (6 of 8, plus 3 that need data we do not have)
Dump orderingA1 verified-accurate37% of claims (3 of 8, plus 3 that need data we do not have)provisional
COPY FREEZEA2 verified-accurate84% of claims (11 of 13)
AutovacuumA1 verified-accurate54% of claims (6 of 11, plus 1 that need data we do not have)provisional
Maintenance commandsA2 verified-accurate66% of claims (8 of 12)
Read-time visibilityA1 verified-accurate100% of claims (8 of 8, plus 4 that need data we do not have)
Restored layoutA1 verified-accurate33% of claims (1 of 3, plus 1 that need data we do not have)provisional
FreezingA1 verified-accurate100% of claims (3 of 3)
Restored relation estimatesA1 verified-accurate72% of claims (8 of 11)
Coverage and assessment · Checked 123 of 176 Postgres claims across 29 sections; 5 sections below half

B — the findings address the article's main subject. What we did not check is listed below. The findings directly check post-restore maintenance, partition-parent analysis, visibility maps, hint bits, statistics transfer, and restoration transactions.

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.

What we did not check

  • We did not reproduce the performance comparisons or test the proposed pg_restore changes.
  • We did not verify restoration logs or visibility-map measurements behind the production example.
  • We did not determine the fastest restoration settings or compare statistics-transfer choices for the article's workloads.
  • We did not check the comparison of 28 platforms' documentation.
  • We did not evaluate the backup-validation procedure deferred to another episode.
  • We did not verify the comparison of 28 platform documentation pages.
  • We did not verify the linked mailing-list discussions, videos, or social profiles.
  • We did not reproduce the restore timings or the customer's reported performance improvements.
  • We did not establish which PostgreSQL 19 changes occurred between October 23 and October 31, 2026.
  • We did not complete every claim about hint bits, planner estimates, index creation, or restore options.
  • We did not verify the claimed three-worker configurations on servers with 96 CPU cores.
  • We did not verify the survey of 28 documentation pages or the claimed 80% prevalence.
  • We did not measure first-read latency or WAL volume after restore.
  • Transparent: we did not complete every applicable check.
  • Section “Post-restore maintenance”: we checked 4 of 7 checkable claims.
  • Section “Dump ordering”: we checked 3 of 11 checkable claims.
  • Section “Autovacuum”: we checked 6 of 12 checkable claims.
  • Section “Restored layout”: we checked 1 of 4 checkable claims.
  • Section “Restore readiness”: we checked 2 of 8 checkable claims.
  • Section “Restore contents”: we checked 1 of 4 checkable claims.
  • Section “Standby writes”: we checked 3 of 7 checkable claims.
  • Section “Restore improvements”: we checked 1 of 3 checkable claims.
  • Section “Visibility and performance”: we checked 0 of 2 checkable claims.
  • Transparent: we did not finish checking whether the article names its author and date.
  • We could not decide whether the evidence backs the central claim.
  • We could not decide whether the article depends on finding F1.
  • We could not decide whether the article depends on finding F20.

Script checks

  • No fenced or preformatted code blocks were identified. Inline snippets and other setup instructions were not checked for syntax.
Checked 123 of 176 Postgres claims across 29 sections; 5 sections below half
  • Introduction: no checkable claims; not counted: 3 product or opinion, 2 not a claim
  • Restore readiness: 2 of 4 Postgres claims checked, plus 4 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 2 for other reasons
  • Documentation coverage: no checkable claims; not counted: 11 product or opinion, 3 duplicate
  • Restore contents: 1 of 4 Postgres claims checked; not counted: 5 duplicate; not checked: 3 for other reasons
  • Statistics transfer: 6 of 8 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate; not checked: 2 for other reasons
  • Visibility map: 11 of 16 Postgres claims checked; not counted: 2 duplicate; not checked: 5 for other reasons
  • Dump ordering: 3 of 8 Postgres claims checked, plus 3 that need data we do not have; not checked: 5 for other reasons
  • Hint bits: 16 of 22 Postgres claims checked, plus 1 that need data we do not have; not checked: 6 for other reasons
  • Planner statistics: 7 of 8 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 duplicate; not checked: 1 for other reasons
  • Standby writes: 3 of 7 Postgres claims checked; not counted: 2 duplicate; not checked: 4 for other reasons
  • Checksums: 6 of 7 Postgres claims checked; not counted: 1 product or opinion, 1 not a claim; not checked: 1 for other reasons
  • Post-restore maintenance: 4 of 7 Postgres claims checked; not counted: 1 duplicate; not checked: 3 for other reasons
  • Restore improvements: 1 of 2 Postgres claims checked, plus 1 that need data we do not have; not counted: 15 product or opinion; not checked: 1 for other reasons
  • Autovacuum: 6 of 11 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 duplicate, 2 not a claim; not checked: 5 for other reasons
  • Partitioned tables: 3 of 5 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate; not checked: 2 for other reasons
  • Transactions and parallel restore: 11 of 12 Postgres claims checked; not checked: 1 for other reasons
  • Maintenance commands: 8 of 12 Postgres claims checked; not counted: 1 duplicate; not checked: 4 for other reasons
  • Operational experience: 9 claims are the author's own account; nothing checkable; not counted: 1 duplicate, 1 not a claim
  • Restored relation estimates: 8 of 11 Postgres claims checked; not counted: 2 product or opinion, 1 duplicate; not checked: 3 for other reasons
  • Tooling: no checkable claims; not counted: 2 product or opinion
  • Restored layout: 1 of 3 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 duplicate; not checked: 3 for other reasons
  • Restore transactions: 2 of 2 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 duplicate
  • COPY FREEZE: 11 of 13 Postgres claims checked; not counted: 1 duplicate; not checked: 2 for other reasons
  • Freezing: 3 of 3 Postgres claims checked
  • Visibility and performance: 0 of 1 Postgres claims checked, plus 1 that need data we do not have; not checked: 1 for other reasons
  • Index creation: 2 of 2 Postgres claims checked; not counted: 1 duplicate
  • Read-time visibility: 8 of 8 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate
  • Closing discussion: no checkable claims; not counted: 2 not a claim
  • Closing recommendations: no checkable claims; not counted: 1 product or opinion, 4 duplicate

Average of 5 axes: 3 · result B

Some explanatory text is not shown in this edition; the grade and findings are complete.

Scorecard · the five axes
FACTS scorecard Scorecard radar, 5 axes, bigger is better. Overall B. Factual B- · 2 wrong of 25 checked · 0 caveats. Applicable A · 0 wrong of 25 checked · 1 caveat. Consistent A · 0 wrong of 25 checked · 0 caveats. Transparent D · 0 wrong of 11 checked · 0 caveats · transparency: claims sourced, claims dated, interest disclosed missing. Safe B+ · 0 wrong of 18 checked · 0 caveats · 1 unwarned risk. B- 2 wrong of 25 checked · 0 caveatsFactual B-2 wrong of 250 caveats A 0 wrong of 25 checked · 1 caveatApplicable A0 wrong of 251 caveat A 0 wrong of 25 checked · 0 caveatsConsistent A0 wrong of 250 caveats D 0 wrong of 11 checked · 0 caveats transparency: claims sourced, claims dated, interest disclosed missingTransparent D0 wrong of 110 caveatstransparency:claims sourced,claims dated,interest disclosedmissing B+ 0 wrong of 18 checked · 0 caveats 1 unwarned riskSafe B+0 wrong of 180 caveats1 unwarned risk B

By topic: Transactions and parallel restore — 3 findings, 1 wrong · Partitioned tables — 1 finding, 1 wrong · Index creation — 1 finding, 0 wrong · Hint bits — 1 finding, 0 wrong · Checksums — 1 finding, 0 wrong · Planner statistics — 1 finding, 0 wrong · Post-restore maintenance — 1 finding, 0 wrong · Visibility map — 4 findings, 0 wrong · Statistics transfer — 2 findings, 0 wrong · Dump ordering — 1 finding, 0 wrong · COPY FREEZE — 2 findings, 0 wrong · Autovacuum — 1 finding, 0 wrong · Maintenance commands — 2 findings, 0 wrong · Read-time visibility — 1 finding, 0 wrong · Restored layout — 1 finding, 0 wrong · Freezing — 1 finding, 0 wrong · Restored relation estimates — 1 finding, 0 wrong

Further out is better. Each axis has its own letter, from the wrong claims and caveats among the claims we checked of that kind.

Checked on the FACTS: Factual, Applicable, Consistent, Transparent, Safe. Clockwise: Factual (is it true?), Applicable (does it apply to my setup, today?), Consistent (does it agree with itself?), Transparent (can I check it myself?), Safe (can I run this on prod?).

We checked 25 claims.

AxisLetterWrongCaveatsCheckedCoverage
FactualB-2025assessed: B- · 2 wrong of 25 checked · 0 caveats
ApplicableA0125assessed: A · 0 wrong of 25 checked · 1 caveat
ConsistentA0025assessed: A · 0 wrong of 25 checked · 0 caveats
TransparentD0011partly assessed: D · 0 wrong of 11 checked · 0 caveats · transparency: claims sourced, claims dated, interest disclosed missing · partly assessed
SafeB+0018assessed: B+ · 0 wrong of 18 checked · 0 caveats · 1 unwarned risk

Safe. Recommended for production with no warning about data loss, downtime or a missing prerequisite: “I think the key takeaways are, first thing I learned, by the way, only turn on data checksums if your data is important to you.”

Topics · 18 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
Transactions and parallel restore1 issue 3 checked F1 F12 F250 issues 3 checked0 issues 2 checked
Partitioned tables1 issue 1 checked F200 issues 1 checked0 issues 1 checked
Restore transactions
Index creation0 issues 1 checked1 issue 1 checked F40 issues 1 checked
Hint bits0 issues 1 checked F110 issues 1 checked
Checksums0 issues 1 checked F190 issues 1 checked0 issues 1 checked0 issues 1 checked
Planner statistics0 issues 1 checked F320 issues 1 checked
Post-restore maintenance0 issues 1 checked F80 issues 1 checked
Visibility map0 issues 4 checked F9 F28 F30 F310 issues 1 checked0 issues 4 checked
Statistics transfer0 issues 2 checked F10 F210 issues 2 checked0 issues 2 checked0 issues 1 checked
Dump ordering0 issues 1 checked F130 issues 1 checked
COPY FREEZE0 issues 2 checked F14 F260 issues 2 checked0 issues 2 checked0 issues 1 checked
Autovacuum0 issues 1 checked F150 issues 1 checked0 issues 1 checked
Maintenance commands0 issues 2 checked F16 F240 issues 1 checked0 issues 2 checked0 issues 2 checked
Read-time visibility0 issues 1 checked F170 issues 1 checked0 issues 1 checked
Restored layout0 issues 1 checked F180 issues 1 checked
Freezing0 issues 1 checked F290 issues 1 checked
Restored relation estimates0 issues 1 checked F330 issues 1 checked0 issues 1 checked

Issues found among the claims checked, per topic and axis. Each link goes to the finding behind the count.

Revisions: 1 · B

We audited this article 1 time. Each row is the final edition of one audit. Letters and findings of earlier revisions stay readable at their own address.

  1. Revision 1 · this page · 2026-10-31 14:31 UTC · B · audited with v1.1.4

    Article as first submitted. 22 accurate · 2 wrong · 1 caveat.

    ElephantSeal: B. Open: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about; central claim not checked.

    Changes: First audit. Open: F1 “Parallel pg_restore waits for recorded dependencies” (false); F20 “PostgreSQL 19 vacuumdb --analyze still omits partitioned parents” (false); F4 “Index creation inside the loading transaction cannot set its commit hint” (mostly accurate).

First impression
Questions and answers

Questions and answers

What is pgTrue?

pgTrue is an independent fact-check of technical Postgres articles, made by PostgresAI. It helps you check advice before you use it.

What does the letter grade mean?

The letter grade summarizes the claims we checked. Five axes show what we checked:

  • Factual: is it true?
  • Applicable: does it apply to my setup, today?
  • Consistent: does it agree with itself?
  • Transparent: can I check it myself?
  • Safe: can I run this in production?

What is the ElephantSeal?

The ElephantSeal is the mark an article earns. It always shows the latest edition. “Open:” lists what is still open.

Can an author reply?

Authors can ask us to correct a finding, reply to it, or withdraw it. Right-of-reply policy.

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: Dump/restore done. Now what?

Article title: Postgres FM \| Transcript: Dump/restore done. Now what?
Article URL: https://postgres.fm/episodes/dump-restore-done-now-what/transcript
Report URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8
Audited revision: 1 of 1, 2026-10-31 14:31:55 UTC
Overall letter: B

## Axes

- Factual: B- · 2 wrong · 25 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 25 checked · 1 caveats · assessed
- Consistent: A · 0 wrong · 25 checked · 0 caveats · assessed
- Transparent: D · 0 wrong · 11 checked · 0 caveats · partly assessed
- Safe: B+ · 0 wrong · 18 checked · 0 caveats · assessed

ElephantSeal: B.
Open conditions: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about; central claim not checked.

## Report metadata

- Report: Technical fact-check, edition 2
- pgTrue version: audited with v1.1.4
- Issued: 2026-10-31
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).

## Findings needing a change (3)

### F1 · Inaccurate · Factual · Parallel pg_restore waits for recorded dependencies
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=it%20doesn%27t%20have%20that%20blocking%20mechanism)
Article says:
```text
…it doesn't have that blocking mechanism…
```
What is true:
pg_restore schedules an entry only after its recorded dependencies finish. It creates early schema objects through one connection. The four unfinished table creations described in the article do not explain its materialized-view failure. src/bin/pg_dump/pg_backup_archiver.c:4372 and :4719 implement these controls.
So what:
Keep pg_restore -j available. Diagnose the reported dependency error before replacing parallel restoration with serial restoration.
Charitable reading:
Missing or externally introduced dependencies can cause failures. The article attributes this example to an absent waiting mechanism.
Review: We tested the missing-dependency interpretation. Recorded dependencies block scheduling, and early table creation uses one connection. The finding preserves that qualification. We tested the missing-dependency explanation. The article instead denies waiting for dependencies, which the scheduler implements.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:4719-4723](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L4719-L4723)
  Excerpt:
  ```text
  * Move all immediately-ready items from pending_list to ready_heap.
 *
 * Items are considered ready if they have no remaining dependencies and
 * they belong in the current restore pass.  (See also reduce_dependencies,
 * which applies the same logic one-at-a-time.)
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:4372-4377](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L4372-L4377)
  Excerpt:
  ```text
  * Do all the early stuff in a single connection in the parent. There's no
	 * great point in running it in parallel, in fact it will actually run
	 * faster in a single connection because we avoid all the connection and
	 * setup overhead.  Also, pre-9.2 pg_dump versions were not very good
	 * about showing all the dependencies of SECTION_PRE_DATA items, so we do
	 * not risk trying to process them out-of-order.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:4901-4903](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L4901-L4903)
  Excerpt:
  ```text
  * POST_DATA items that are shown as depending on a table need to be
	 * re-pointed to depend on that table's data, instead.  This ensures they
	 * won't get scheduled until the data has been loaded.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:4738-4739](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L4738-L4739)
  Excerpt:
  ```text
  if (te->depCount == 0 &&
			_tocEntryRestorePass(te) == pass)
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F1

### F20 · Inaccurate · Factual · PostgreSQL 19 vacuumdb --analyze still omits partitioned parents
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=vacuumdb%20analyze%20only%20and%20analyze,parent%20tables%2C%20yeah%2C%20in%2019)
Article says:
```text
…vacuumdb analyze only and analyze option, they take care of parent tables, yeah, in 19…
```
What is true:
PostgreSQL 19 includes partitioned parents in --analyze-only and --analyze-in-stages. Ordinary --analyze still selects regular tables and materialized views. src/bin/scripts/vacuuming.c:659 documents this distinction. Relying on --analyze alone leaves parent statistics stale.
So what:
Use vacuumdb --analyze-only or explicitly analyze partitioned parents after vacuumdb --analyze.
Charitable reading:
The --analyze-only part is correct. The sentence also explicitly includes --analyze.
Review: We checked whether the article meant analysis-only exclusively. It explicitly includes --analyze. This supported finding duplicates F2. We checked both option mappings. --analyze does not select the analysis-only mode that includes partition parents.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuuming.c:659-664](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuuming.c#L659-L664)
  Excerpt:
  ```text
  * VACUUM and ANALYZE commands.  In MODE_ANALYZE or
		 * MODE_ANALYZE_IN_STAGES modes, process regular tables, materialized
		 * views, and partitioned tables, just like ANALYZE (with no specific
		 * target tables) does. Otherwise, process only regular tables and
		 * materialized views, since VACUUM skips partitioned tables when no
		 * target tables are specified.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuumdb.c:160-166](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuumdb.c#L160-L166)
  Excerpt:
  ```text
  case 'z':
				vacopts.and_analyze = true;
				break;
			case 'Z':
				/* if analyze-in-stages is given, don't override it */
				if (vacopts.mode != MODE_ANALYZE_IN_STAGES)
					vacopts.mode = MODE_ANALYZE;
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuumdb.c:38-39](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuumdb.c#L38-L39)
  Excerpt:
  ```text
  {"analyze", no_argument, NULL, 'z'},
		{"analyze-only", no_argument, NULL, 'Z'},
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F20

### F4 · Imprecise · Applicable · Index creation inside the loading transaction cannot set its commit hint
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=Hint%20bits%20are%20missing%20only%20if%20you%20don%27t%20create%20indexes)
Article says:
```text
Hint bits are missing only if you don't create indexes…
```
What is true:
Index building checks tuple visibility. A tuple inserted by the current transaction remains HEAPTUPLE_INSERT_IN_PROGRESS. A --single-transaction restore therefore cannot establish that transaction's commit hint during index creation. heapam_handler.c:1378 calls the check. heapam_visibility.c:1169 returns before setting HEAP_XMIN_COMMITTED.
So what:
Retain post-commit warm-up or VACUUM ANALYZE when benchmarking a --single-transaction restore that created indexes.
Charitable reading:
Default restoration usually commits table data before building indexes. The article also discusses --single-transaction restoration.
Review: We tested the ordinary committed-load interpretation. It works, but --single-transaction remains a counterexample to the article's exclusive condition. We tested the default committed-load reading. It does not cover --single-transaction, where index creation cannot mark its own transaction committed.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam_visibility.c:1169-1172](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam_visibility.c#L1169-L1172)
  Excerpt:
  ```text
  else if (TransactionIdIsCurrentTransactionId(HeapTupleHeaderGetRawXmin(tuple)))
		{
			if (tuple->t_infomask & HEAP_XMAX_INVALID)	/* xid invalid */
				return HEAPTUPLE_INSERT_IN_PROGRESS;
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam_handler.c:1378-1379](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam_handler.c#L1378-L1379)
  Excerpt:
  ```text
  switch (HeapTupleSatisfiesVacuum(heapTuple, OldestXmin,
											 hscan->rs_cbuf))
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam_visibility.c:1197-1199](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam_visibility.c#L1197-L1199)
  Excerpt:
  ```text
  else if (TransactionIdDidCommit(HeapTupleHeaderGetRawXmin(tuple)))
			SetHintBits(tuple, buffer, HEAP_XMIN_COMMITTED,
						HeapTupleHeaderGetRawXmin(tuple));
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F4

## Verified accurate claims (22)

### F8 · Accurate · Factual · VACUUM ANALYZE prepares restored tables for query planning and visibility checks
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=right%20after%20your%20restore%20is%20a%20VACUUM%20ANALYZE)
Article says:
```text
…right after your restore is a VACUUM ANALYZE…
```
What is true:
VACUUM ANALYZE vacuums and then analyzes each selected table. ANALYZE supplies column statistics. VACUUM establishes visibility information. Database-wide SQL processes tables sequentially, although VACUUM can parallelize index work. The command must run outside the restore transaction. doc/src/sgml/ref/vacuum.sgml:69 and :446 specify these behaviors.
Charitable reading:
This is a preparation recommendation for logical restoration, not a claim that every workload needs identical maintenance.
Review: We checked transaction restrictions and parallel-index exceptions. The finding includes both and treats VACUUM ANALYZE as preparation guidance. We checked transaction restrictions and parallel index work. Both caveats already qualify the VACUUM ANALYZE recommendation.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:280-286](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L280-L286)
  Excerpt:
  ```text
  The <productname>PostgreSQL</productname> query planner relies on
    statistical information about the contents of tables in order to
    generate good plans for queries.  These statistics are gathered by
    the <link linkend="sql-analyze"><command>ANALYZE</command></link> command,
    which can be invoked by itself or
    as an optional step in <command>VACUUM</command>.  It is important to have
    reasonably accurate statistics, otherwise poor choices of plans might
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:62-71](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L62-L71)
  Excerpt:
  ```text
  Without a <replaceable class="parameter">table_and_columns</replaceable>
   list, <command>VACUUM</command> processes every table and materialized view
   in the current database that the current user has permission to vacuum.
   With a list, <command>VACUUM</command> processes only those table(s).
  </para>

  <para>
   <command>VACUUM ANALYZE</command> performs a <command>VACUUM</command>
   and then an <command>ANALYZE</command> for each selected table.  This
   is a handy combination form for routine maintenance scripts.  See
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/catalog/index.c:2914-2918](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/catalog/index.c#L2914-L2918)
  Excerpt:
  ```text
  * reltuples: if >= 0, set reltuples to this value; else no change
 *
 * If reltuples >= 0, relpages, relallvisible, and relallfrozen are also
 * updated (using RelationGetNumberOfBlocks() and visibilitymap_count()).
 *
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:446-446](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L446-L446)
  Excerpt:
  ```text
  <command>VACUUM</command> cannot be executed inside a transaction block.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/vacuumlazy.c:1966-1972](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/vacuumlazy.c#L1966-L1972)
  Excerpt:
  ```text
  PageSetAllVisible(page);
			PageClearPrunable(page);
			(void) visibilitymap_set(blkno,
									 vmbuffer,
									 VISIBILITYMAP_ALL_VISIBLE |
									 VISIBILITYMAP_ALL_FROZEN,
									 vacrel->rel->rd_locator);
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:82-86](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L82-L86)
  Excerpt:
  ```text
  system (in most cases); it's just kept available for re-use within the
   same table.  It also allows us to leverage multiple CPUs in order to process
   indexes.  This feature is known as <firstterm><xref linkend="parallel-vacuum"/></firstterm>.
   To disable this feature, one can use <literal>PARALLEL</literal> option and
   specify parallel workers as zero.  <command>VACUUM FULL</command> rewrites
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F8

### F9 · Accurate · Factual · Index-only scans fetch heap tuples when visibility bits are absent
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=index%20only%20scan%2C%20despite%20the%20name%2C%20can%20also%20inspect%20heap)
Article says:
```text
…index only scan, despite the name, can also inspect heap…
```
What is true:
An index-only scan checks the page's all-visible bit. If that bit is clear, nodeIndexonlyscan.c:165 fetches the heap tuple. The map stores all-visible and all-frozen bits per heap page. plancat.c:1397 derives the planner's visibility fraction from relallvisible.
Charitable reading:
The visibility map does not determine whether a tuple is visible by itself when the bit is clear.
Review: We checked whether planner estimates replace executor visibility checks. They do not. A clear map bit triggers heap access. We checked the clear-bit branch. It fetches the heap tuple, while the planner separately uses relallvisible.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/executor/nodeIndexonlyscan.c:165-174](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/executor/nodeIndexonlyscan.c#L165-L174)
  Excerpt:
  ```text
  if (!VM_ALL_VISIBLE(scandesc->heapRelation,
							ItemPointerGetBlockNumber(tid),
							&node->ioss_VMBuffer))
		{
			/*
			 * Rats, we have to visit the heap to check visibility.
			 */
			InstrCountTuples2(node, 1);
			if (!index_fetch_heap(scandesc, node->ioss_TableSlot))
				continue;		/* no visible tuple, try next index entry */
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/storage.sgml:660-666](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/storage.sgml#L660-L666)
  Excerpt:
  ```text
  The visibility map stores two bits per heap page.  The first bit, if set,
indicates that the page is all-visible, or in other words that the page does
not contain any tuples that need to be vacuumed.
This information can also be used
by <link linkend="indexes-index-only-scans"><firstterm>index-only
scans</firstterm></link> to answer queries using only the index tuple.
The second bit, if set, means that all tuples on the page have been frozen.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/optimizer/util/plancat.c:1397-1402](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/optimizer/util/plancat.c#L1397-L1402)
  Excerpt:
  ```text
  if (relallvisible == 0 || curpages <= 0)
			*allvisfrac = 0;
		else if ((double) relallvisible >= curpages)
			*allvisfrac = 1;
		else
			*allvisfrac = (double) relallvisible / curpages;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F9

### F10 · Accurate · Factual · PostgreSQL 18 dumps relallvisible with optimizer statistics
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=this%20mechanism%20in%20Postgres%2018%20dumps%20that%20number)
Article says:
```text
…this mechanism in Postgres 18 dumps that number…
```
What is true:
PostgreSQL 18.0 emits relallvisible when dumping statistics. Restoration writes that value into pg_class. The executor still checks the actual visibility map. Restored estimates can therefore favor index-only scans that require heap fetches. PostgreSQL 18 excludes extended statistics data.
Charitable reading:
The recommendation against statistics transfer is conservative. It does not describe an unsupported command.
Review: We checked PostgreSQL 18 specifically and distinguished optional statistics transfer from default dumping. Import and executor paths support the finding. We checked PostgreSQL 18 rather than applying PostgreSQL 19 behavior. Dumping estimates does not transfer the executor's visibility map.

Sources:
- [REL_18_0 · src/bin/pg_dump/pg_dump.c:11039-11040](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/bin/pg_dump/pg_dump.c#L11039-L11040)
  Excerpt:
  ```text
  appendPQExpBuffer(out, "\t'relallvisible', '%d'::integer",
					  rsinfo->relallvisible);
  ```
- [REL_18_0 · doc/src/sgml/ref/pg_dump.sgml:1702-1707](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/pg_dump.sgml#L1702-L1707)
  Excerpt:
  ```text
  If <option>--statistics</option> is specified,
   <command>pg_dump</command> will include most optimizer statistics in the
   resulting dump file.  However, some statistics may not be included, such as
   those created explicitly with <xref linkend="sql-createstatistics"/> or
   custom statistics added by an extension.  Therefore, it may be useful to
   run <command>ANALYZE</command> after restoring from a dump file to ensure
  ```
- [REL_18_0 · src/backend/statistics/relation_stats.c:160-165](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/statistics/relation_stats.c#L160-L165)
  Excerpt:
  ```text
  if (update_relallvisible && relallvisible != pgcform->relallvisible)
	{
		replaces[nreplaces] = Anum_pg_class_relallvisible;
		values[nreplaces] = UInt32GetDatum(relallvisible);
		nreplaces++;
	}
  ```
- [REL_18_0 · doc/src/sgml/ref/pg_dump.sgml:1149-1149](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/pg_dump.sgml#L1149-L1149)
  Excerpt:
  ```text
  Do not dump statistics. This is the default.
  ```
- [REL_18_0 · src/backend/executor/nodeIndexonlyscan.c:161-170](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/executor/nodeIndexonlyscan.c#L161-L170)
  Excerpt:
  ```text
  if (!VM_ALL_VISIBLE(scandesc->heapRelation,
							ItemPointerGetBlockNumber(tid),
							&node->ioss_VMBuffer))
		{
			/*
			 * Rats, we have to visit the heap to check visibility.
			 */
			InstrCountTuples2(node, 1);
			if (!index_fetch_heap(scandesc, node->ioss_TableSlot))
				continue;		/* no visible tuple, try next index entry */
  ```
- [REL_18_0 · src/backend/optimizer/util/plancat.c:1159-1164](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/optimizer/util/plancat.c#L1159-L1164)
  Excerpt:
  ```text
  if (relallvisible == 0 || curpages <= 0)
			*allvisfrac = 0;
		else if ((double) relallvisible >= curpages)
			*allvisfrac = 1;
		else
			*allvisfrac = (double) relallvisible / curpages;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F10

### F11 · Accurate · Factual · Hint bits cache transaction outcomes in tuple headers
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=it%20just%20caches%20the%20status%20of%20those%20transactions)
Article says:
```text
…it just caches the status of those transactions…
```
What is true:
heapam_visibility.c:1197 tests whether xmin committed and sets HEAP_XMIN_COMMITTED. xmax can remain nonzero after an attempted deletion rolls back. WAL protection can propagate hint information through full-page images. bufmgr.c:5752 limits those images to the first relevant page change after a checkpoint.
Charitable reading:
The article acknowledges that standby work can remain. WAL protection does not promise a separate record for every hint change.
Review: We tested whether every hint update requires its own WAL image. The finding correctly limits image generation and describes propagation as possible. We checked whether WAL protection guarantees every later hint update reaches standbys. The finding correctly limits propagation to qualifying full-page images.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ddl.sgml:1511-1516](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ddl.sgml#L1511-L1516)
  Excerpt:
  ```text
  <para>
      The identity (transaction ID) of the deleting transaction, or
      zero for an undeleted row version.  It is possible for this column to
      be nonzero in a visible row version. That usually indicates that the
      deleting transaction hasn't committed yet, or that an attempted
      deletion was rolled back.
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/config.sgml:3649-3660](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/config.sgml#L3649-L3660)
  Excerpt:
  ```text
  When this parameter is <literal>on</literal>, the <productname>PostgreSQL</productname>
        server writes the entire content of each disk page to WAL during the
        first modification of that page after a checkpoint, even for
        non-critical modifications of so-called hint bits.
       </para>

       <para>
        If data checksums are enabled, hint bit updates are always WAL-logged
        and this setting is ignored. You can use this setting to test how much
        extra WAL-logging would occur if your database had data checksums
        enabled.
       </para>
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam_visibility.c:1197-1199](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam_visibility.c#L1197-L1199)
  Excerpt:
  ```text
  else if (TransactionIdDidCommit(HeapTupleHeaderGetRawXmin(tuple)))
			SetHintBits(tuple, buffer, HEAP_XMIN_COMMITTED,
						HeapTupleHeaderGetRawXmin(tuple));
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/storage/buffer/bufmgr.c:5752-5755](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/storage/buffer/bufmgr.c#L5752-L5755)
  Excerpt:
  ```text
  * If we need to protect hint bit updates from torn writes, WAL-log a
		 * full page image of the page. This full page image is only necessary
		 * if the hint bit update is the first change to the page since the
		 * last checkpoint.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam.c:3124-3126](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam.c#L3124-L3126)
  Excerpt:
  ```text
  XLogRegisterData(&xlrec, SizeOfHeapDelete);

		XLogRegisterBuffer(HEAP_DELETE_BLKREF_HEAP, buffer, REGBUF_STANDARD);
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:88-96](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L88-L96)
  Excerpt:
  ```text
  <para>
    <productname>PostgreSQL</productname>'s
    <link linkend="sql-vacuum"><command>VACUUM</command></link> command has to
    process each table on a regular basis for several reasons:

    <orderedlist>
     <listitem>
      <simpara>To recover or reuse disk space occupied by updated or deleted
      rows.</simpara>
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F11

### F12 · Accurate · Factual · pg_restore defaults differ from --single-transaction and --exit-on-error
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=It%27s%20not%20a%20single%20transaction.)
Article says:
```text
It's not a single transaction.
```
What is true:
pg_restore normally continues after SQL errors and reports their count. --single-transaction wraps restoration in BEGIN and COMMIT. It also implies --exit-on-error and excludes multiple jobs. These options do not make VACUUM legal inside the transaction. doc/src/sgml/ref/pg_restore.sgml:191 and :535 document these distinctions.
Charitable reading:
The phrase 'not ACID' describes the whole restore's lack of atomicity. Individual SQL transactions still retain their guarantees.
Review: We distinguished whole-restore atomicity from individual transaction guarantees. The finding accurately states defaults, option implications, and incompatibilities. We tested the charitable whole-restore interpretation of atomicity. The documented defaults and option exclusions support it.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:191-193](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/pg_restore.sgml#L191-L193)
  Excerpt:
  ```text
  Exit if an error is encountered while sending SQL commands to
        the database. The default is to continue and to display a count of
        errors at the end of the restoration.
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:535-541](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/pg_restore.sgml#L535-L541)
  Excerpt:
  ```text
  Execute the restore as a single transaction (that is, wrap the
        emitted commands in <command>BEGIN</command>/<command>COMMIT</command>).  This
        ensures that either all the commands complete successfully, or no
        changes are applied. This option implies
        <option>--exit-on-error</option>.
        It cannot be used together with <option>--create</option>, nor with
        multiple jobs (<option>--jobs</option>).
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:446-446](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L446-L446)
  Excerpt:
  ```text
  <command>VACUUM</command> cannot be executed inside a transaction block.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F12

### F13 · Accurate · Factual · Normal dumps place table definitions before COPY and indexes afterward
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=Then%20DDL%20to%20create%20tables%20and%20everything%2C%20but%20not%20indexes.)
Article says:
```text
Then DDL to create tables and everything, but not indexes.
```
What is true:
pg_dump places table data in the data section and indexes in post-data. It emits COPY FROM stdin for ordinary table data. The archive writes initial SET commands. Validated CHECK and NOT NULL constraints are exceptions to the general post-data constraint description. pg_dump.c:2900 and pg_backup_archiver.c:3438 generate these statements.
Charitable reading:
The article lists foreign keys and unique keys. It does not claim that every constraint waits until post-data.
Review: We checked constraints that precede data loading. The finding explicitly preserves validated CHECK and NOT NULL exceptions. We checked CHECK and NOT NULL exceptions. The finding states them and confines its judgment to normal dump ordering.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_dump.sgml:1292-1298](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/pg_dump.sgml#L1292-L1298)
  Excerpt:
  ```text
  The data section contains actual table data, large-object
          contents, sequence values, and statistics for tables,
          materialized views, and foreign tables.
          Post-data items include definitions of indexes, triggers, rules,
          statistics for indexes, and constraints other than validated check
          and not-null constraints.
          Pre-data items include all other data definition items.
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_dump.c:2900-2904](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_dump.c#L2900-L2904)
  Excerpt:
  ```text
  printfPQExpBuffer(copyBuf, "COPY %s ",
						  copyFrom);
		appendPQExpBuffer(copyBuf, "%s FROM stdin;\n",
						  fmtCopyColumnList(tbinfo, clistBuf));
		copyStmt = copyBuf->data;
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:3438-3440](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L3438-L3440)
  Excerpt:
  ```text
  ahprintf(AH, "SET statement_timeout = 0;\n");
	ahprintf(AH, "SET lock_timeout = 0;\n");
	ahprintf(AH, "SET idle_in_transaction_session_timeout = 0;\n");
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/backup.sgml:24-34](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/backup.sgml#L24-L34)
  Excerpt:
  ```text
  in the following sections.
 </para>

 <sect1 id="backup-dump">
  <title><acronym>SQL</acronym> Dump</title>

  <para>
   The idea behind this dump method is to generate a file with SQL
   commands that, when fed back to the server, will recreate the
   database in the same state as it was at the time of the dump.
   <productname>PostgreSQL</productname> provides the utility program
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F13

### F14 · Accurate · Factual · COPY FREEZE can produce frozen rows and set both visibility-map bits
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=There%20is%20COPY%20FREEZE.)
Article says:
```text
There is COPY FREEZE.
```
What is true:
COPY FREEZE creates frozen tuples when its transaction conditions hold. The table must have been created or truncated in the current subtransaction. Open cursors and older snapshots restrict its use. heapam.c:2487 sets both visibility-map bits for eligible pages. This produces the described state without invoking a separate VACUUM command.
Charitable reading:
The discussion proposes a future restore optimization. It does not claim pg_restore already rewrites COPY commands.
Review: We checked whether COPY FREEZE literally invokes VACUUM. The finding correctly describes equivalent state changes and conditions instead. We checked eligibility restrictions and whether COPY literally invokes VACUUM. The finding correctly describes equivalent tuple state without a separate VACUUM.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/copy.sgml:264-269](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/copy.sgml#L264-L269)
  Excerpt:
  ```text
  Requests copying the data with rows already frozen, just as they
      would be after running the <command>VACUUM FREEZE</command> command.
      This is intended as a performance option for initial data loading.
      Rows will be frozen only if the table being loaded has been created
      or truncated in the current subtransaction, there are no cursors
      open and there are no older snapshots held by this transaction.  It is
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam.c:2487-2493](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam.c#L2487-L2493)
  Excerpt:
  ```text
  PageSetAllVisible(page);
			PageClearPrunable(page);
			(void) visibilitymap_set(BufferGetBlockNumber(buffer),
									 vmbuffer,
									 VISIBILITYMAP_ALL_VISIBLE |
									 VISIBILITYMAP_ALL_FROZEN,
									 relation->rd_locator);
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:443-447](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L443-L447)
  Excerpt:
  ```text
  The reason that periodic vacuuming solves the problem is that
    <command>VACUUM</command> will mark rows as <emphasis>frozen</emphasis>, indicating that
    they were inserted by a transaction that committed sufficiently far in
    the past that the effects of the inserting transaction are certain to be
    visible to all current and future transactions.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F14

### F15 · Accurate · Factual · Autovacuum does not analyze partition parents
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=autovacuum%20doesn%27t%20take%20care%20of%20root%20tables%20in%20partition)
Article says:
```text
…autovacuum doesn't take care of root tables in partition…
```
What is true:
Autovacuum processes partitions but does not analyze their partitioned parents. Manual parent analysis remains necessary. Automatic vacuuming uses a cost delay of 2 milliseconds by default. Its independent scheduling cannot guarantee completion before the first post-restore query. doc/src/sgml/maintenance.sgml:1016 and config.sgml:9674 document these limits.
Charitable reading:
The PostgreSQL 19 vacuumdb improvement does not change autovacuum's parent-table behavior.
Review: We checked whether PostgreSQL 19 vacuumdb changes also change autovacuum. Parent analysis remains manual, and the documented delay is 2 milliseconds. We tested whether vacuumdb's PostgreSQL 19 improvement changes autovacuum. The documentation still excludes partition-parent autoanalysis.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:280-286](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L280-L286)
  Excerpt:
  ```text
  The <productname>PostgreSQL</productname> query planner relies on
    statistical information about the contents of tables in order to
    generate good plans for queries.  These statistics are gathered by
    the <link linkend="sql-analyze"><command>ANALYZE</command></link> command,
    which can be invoked by itself or
    as an optional step in <command>VACUUM</command>.  It is important to have
    reasonably accurate statistics, otherwise poor choices of plans might
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:1016-1023](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L1016-L1023)
  Excerpt:
  ```text
  Partitioned tables do not directly store tuples and consequently
    are not processed by autovacuum.  (Autovacuum does process table
    partitions just like other tables.)  Unfortunately, this means that
    autovacuum does  not run <command>ANALYZE</command> on partitioned
    tables, and this can cause suboptimal plans for queries that reference
    partitioned table statistics.  You can work around this problem by
    manually running <command>ANALYZE</command> on partitioned tables
    when they are first populated, and again whenever the distribution
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/config.sgml:9674-9678](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/config.sgml#L9674-L9678)
  Excerpt:
  ```text
  Specifies the cost delay value that will be used in automatic
         <command>VACUUM</command> operations.  If -1 is specified, the regular
         <xref linkend="guc-vacuum-cost-delay"/> value will be used.
         If this value is specified without units, it is taken as milliseconds.
         The default value is 2 milliseconds.
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/maintenance.sgml:371-377](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/maintenance.sgml#L371-L377)
  Excerpt:
  ```text
  The autovacuum daemon does not issue <command>ANALYZE</command> commands
     for partitioned tables.  Inheritance parents will only be analyzed if the
     parent itself is changed - changes to child tables do not trigger
     autoanalyze on the parent table.  If your queries require statistics on
     parent tables for proper planning, it is necessary to periodically run
     a manual <command>ANALYZE</command> on those tables to keep the statistics
     up to date.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F15

### F16 · Accurate · Factual · vacuumdb -j runs concurrent maintenance commands
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=the%20%2Dj%20option%20allows%20you%20to%20run%20multiple%20concurrently)
Article says:
```text
…the -j option allows you to run multiple concurrently…
```
What is true:
vacuumdb -j runs multiple commands through separate connections. --analyze adds analysis to vacuuming. --analyze-only computes statistics without vacuuming. This provides concurrency across tables. It differs from VACUUM's optional parallel index processing. doc/src/sgml/ref/vacuumdb.sgml:229 and :458 describe the modes.
Charitable reading:
The conversation uses 'threads' informally. The operational feature is concurrent database commands.
Review: We checked whether -j merely enables parallel index processing. It runs concurrent commands, as the finding states. We checked whether -j means parallel index processing. The finding correctly distinguishes concurrent commands from internal VACUUM workers.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuumdb.sgml:229-232](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuumdb.sgml#L229-L232)
  Excerpt:
  ```text
  Execute the vacuum or analyze commands in parallel by running
        <replaceable class="parameter">njobs</replaceable>
        commands simultaneously.  This option may reduce the processing time
        but it also increases the load on the database server.
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuumdb.sgml:458-473](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuumdb.sgml#L458-L473)
  Excerpt:
  ```text
  <term><option>--analyze</option></term>
      <listitem>
       <para>
        Also calculate statistics for use by the optimizer.
       </para>
      </listitem>
     </varlistentry>

     <varlistentry>
      <term><option>-Z</option></term>
      <term><option>--analyze-only</option></term>
      <listitem>
       <para>
        Only calculate statistics for use by the optimizer (no vacuum).
       </para>
      </listitem>
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:82-86](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L82-L86)
  Excerpt:
  ```text
  system (in most cases); it's just kept available for re-use within the
   same table.  It also allows us to leverage multiple CPUs in order to process
   indexes.  This feature is known as <firstterm><xref linkend="parallel-vacuum"/></firstterm>.
   To disable this feature, one can use <literal>PARALLEL</literal> option and
   specify parallel workers as zero.  <command>VACUUM FULL</command> rewrites
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F16

### F17 · Accurate · Factual · PostgreSQL 19 can set visibility bits during qualifying primary reads
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=by%20reading%20at%20read%20time%2C%20but%20also%20visibility%20maps)
Article says:
```text
…by reading at read time, but also visibility maps…
```
What is true:
PostgreSQL 19 enables visibility-map updates during qualifying on-access pruning for read-only relations. pruneheap.c:363 enables HEAP_PAGE_PRUNE_SET_VM. The function returns during recovery at :285. Standby reads therefore do not perform this update. Eligibility checks mean a first read does not guarantee coverage of every page.
Charitable reading:
The article corrects the initial claim to PostgreSQL 19 and later says reads can create visibility maps.
Review: We checked recovery and eligibility restrictions. The finding preserves both and does not promise complete map coverage after one read. We checked recovery and eligibility restrictions. The finding already limits the capability to qualifying primary reads.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/pruneheap.c:363-369](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/pruneheap.c#L363-L369)
  Excerpt:
  ```text
  */
			params.options = HEAP_PAGE_PRUNE_ALLOW_FAST_PATH;
			if (rel_read_only)
				params.options |= HEAP_PAGE_PRUNE_SET_VM;

			heap_page_prune_and_freeze(&params, &presult, &dummy_off_loc,
									   NULL, NULL);
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/pruneheap.c:285-286](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/pruneheap.c#L285-L286)
  Excerpt:
  ```text
  if (RecoveryInProgress())
		return;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F17

### F18 · Accurate · Factual · pg_upgrade transfers visibility-map files
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=Where%20visibility%20map%20is%20preserved.)
Article says:
```text
…Where visibility map is preserved.
```
What is true:
pg_upgrade transfers the _vm fork alongside relation files. src/bin/pg_upgrade/relfilenumber.c:531 handles free-space and visibility-map forks. That preserves information absent from an ordinary logical dump. This supports the article's distinction between upgrade statistics transfer and logical restoration.
Charitable reading:
The distinction concerns physical relation transfer. It does not establish the feature developers' historical intent.
Review: We checked actual fork transfer rather than inferred developer intent. pg_upgrade explicitly transfers _vm files. We checked whether physical transfer includes the _vm fork. The source explicitly transfers it when present.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_upgrade/relfilenumber.c:531-534](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_upgrade/relfilenumber.c#L531-L534)
  Excerpt:
  ```text
  * Copy/link any fsm and vm files, if they exist
			 */
			transfer_relfile(&maps[mapnum], "_fsm", vm_must_add_frozenbit);
			transfer_relfile(&maps[mapnum], "_vm", vm_must_add_frozenbit);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F18

### F19 · Accurate · Factual · Verified accurate: “…data checksums enabled, which is default if you create cluster recently…”
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=data%20checksums%20enabled%2C%20which%20is,if%20you%20create%20cluster%20recently)
Article says:
```text
…data checksums enabled, which is default if you create cluster recently…
```
What is true:
initdb enables data checksums by default in PostgreSQL 18 and 19. doc/src/sgml/ref/initdb.sgml:268 states this in both versions. Checksums help detect I/O corruption that would otherwise remain silent.
Review: We checked both version floors. The default is supported. The cited article span does not cover the separate fsync humor discussion.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/initdb.sgml:268-271](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/initdb.sgml#L268-L271)
  Excerpt:
  ```text
  Use checksums on data pages to help detect corruption by the I/O
        system that would otherwise be silent.  This is enabled by default;
        use <xref linkend="app-initdb-no-data-checksums"/> to disable
        checksums.
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/config.sgml:3339-3344](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/config.sgml#L3339-L3344)
  Excerpt:
  ```text
  While turning off <varname>fsync</varname> is often a performance
        benefit, this can result in unrecoverable data corruption in
        the event of a power failure or system crash.  Thus it
        is only advisable to turn off <varname>fsync</varname> if
        you can easily recreate your entire database from external
        data.
  ```
- [REL_18_0 · doc/src/sgml/ref/initdb.sgml:268-271](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/initdb.sgml#L268-L271)
  Excerpt:
  ```text
  Use checksums on data pages to help detect corruption by the I/O
        system that would otherwise be silent.  This is enabled by default;
        use <xref linkend="app-initdb-no-data-checksums"/> to disable
        checksums.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F19

### F21 · Accurate · Factual · PostgreSQL 18 added optional statistics transfer
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=It%20happened%20in%20Postgres%2018)
Article says:
```text
…It happened in Postgres 18…
```
What is true:
REL_18_0 documents pg_dump --statistics. doc/src/sgml/release-18.sgml:3146 records the option's introduction. The article names the correct major version.
Charitable reading:
We checked the stated PostgreSQL 18 version floor.
Review: We checked the version floor against REL_18_0 release notes. They explicitly introduce pg_dump --statistics. We checked the PostgreSQL 18 release notes and option documentation. Both support the stated introduction.

Sources:
- [REL_18_0 · doc/src/sgml/release-18.sgml:3146-3147](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/release-18.sgml#L3146-L3147)
  Qualification: Version note: Checked the article's PostgreSQL 18 version floor.
  Excerpt:
  ```text
  Add <xref linkend="app-pgdump"/> option <option>--statistics</option>
      (Jeff Davis)
  ```
- [REL_18_0 · doc/src/sgml/ref/pg_dump.sgml:1393-1396](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/pg_dump.sgml#L1393-L1396)
  Qualification: Version note: Checked the article's PostgreSQL 18 version floor.
  Excerpt:
  ```text
  <term><option>--statistics</option></term>
      <listitem>
       <para>
        Dump statistics.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F21

### F24 · Accurate · Factual · VACUUM cannot execute inside a transaction block
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=Vacuum%20cannot%20be%20included%20inside%20a%20transaction%20block.)
Article says:
```text
Vacuum cannot be included inside a transaction block.
```
What is true:
doc/src/sgml/ref/vacuum.sgml:446 states that VACUUM cannot execute inside a transaction block. The article correctly identifies the constraint on automatic post-restore maintenance.
Charitable reading:
The article separately discusses running maintenance after the restore transaction commits.
Review: We checked the distinction between transaction blocks and maintenance after COMMIT. The documented prohibition matches the article's claim. We checked the exact VACUUM restriction. The documentation directly supports the article's statement.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/vacuum.sgml:446-446](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/vacuum.sgml#L446-L446)
  Excerpt:
  ```text
  <command>VACUUM</command> cannot be executed inside a transaction block.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F24

### F25 · Accurate · Factual · Verified accurate: “…a stop on error, option, but it's different…”
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=a%20stop%20on%20error%2C%20option%2C%20but%20it%27s%20different)
Article says:
```text
…a stop on error, option, but it's different…
```
What is true:
pg_restore --exit-on-error stops when SQL execution encounters an error. Its default continues and reports an error count. doc/src/sgml/ref/pg_restore.sgml:191 confirms this behavior. Stopping alone does not undo earlier committed work.
Review: We checked whether stopping on error implies rollback. The separate --single-transaction guarantee confirms the distinction. We compared stopping on error with single-transaction restoration. Only the latter promises all-or-nothing restoration.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:535-541](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/pg_restore.sgml#L535-L541)
  Excerpt:
  ```text
  Execute the restore as a single transaction (that is, wrap the
        emitted commands in <command>BEGIN</command>/<command>COMMIT</command>).  This
        ensures that either all the commands complete successfully, or no
        changes are applied. This option implies
        <option>--exit-on-error</option>.
        It cannot be used together with <option>--create</option>, nor with
        multiple jobs (<option>--jobs</option>).
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/pg_restore.sgml:191-193](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/pg_restore.sgml#L191-L193)
  Excerpt:
  ```text
  Exit if an error is encountered while sending SQL commands to
        the database. The default is to continue and to display a count of
        errors at the end of the restoration.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F25

### F26 · Accurate · Factual · COPY FREEZE requires creation or truncation in the current subtransaction
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=There%20are%20limitations%20for%20COPY%20FREEZE.)
Article says:
```text
There are limitations for COPY FREEZE.
```
What is true:
COPY FREEZE requires creation or truncation in the current subtransaction. Open cursors and older snapshots impose additional restrictions. doc/src/sgml/ref/copy.sgml:267 documents these conditions and excludes partitioned and foreign tables.
Charitable reading:
The article identifies creation and truncation as prerequisites rather than presenting a complete COPY FREEZE recipe.
Review: We checked omitted COPY FREEZE prerequisites. The finding supplies cursor, snapshot, and table-type restrictions without treating the proposal as executable. We checked all listed COPY FREEZE restrictions. The quoted documentation supports each restriction.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/copy.sgml:267-271](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/copy.sgml#L267-L271)
  Excerpt:
  ```text
  Rows will be frozen only if the table being loaded has been created
      or truncated in the current subtransaction, there are no cursors
      open and there are no older snapshots held by this transaction.  It is
      currently not possible to perform a <command>COPY FREEZE</command> on
      a partitioned table or foreign table.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F26

### F28 · Accurate · Factual · The visibility map reserves two bits per heap page
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=stores%20two%20bits%20for%20every%20page)
Article says:
```text
…stores two bits for every page…
```
What is true:
BITS_PER_HEAPBLOCK equals 2 in src/include/access/visibilitymapdefs.h:17. The article gives the correct logical storage density.
Charitable reading:
The statement describes visibility-map storage, not physical write volume.
Review: We distinguished logical map density from disk-write volume. BITS_PER_HEAPBLOCK directly confirms two bits per heap page. We checked logical map density against BITS_PER_HEAPBLOCK. The value is 2.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/include/access/visibilitymapdefs.h:17-17](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/include/access/visibilitymapdefs.h#L17-L17)
  Excerpt:
  ```text
  #define BITS_PER_HEAPBLOCK 2
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F28

### F29 · Accurate · Factual · Tuple transaction IDs have a four-byte width
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=we%20have%20four%2Dbyte%20transaction%20IDs)
Article says:
```text
…we have four-byte transaction IDs…
```
What is true:
src/include/c.h:742 defines TransactionId as uint32. The article correctly gives its width as four bytes.
Charitable reading:
The freezing discussion concerns tuple transaction IDs, not epoch-extended transaction identifiers.
Review: We tested whether epoch-extended identifiers invalidate the claim. The freezing discussion concerns tuple TransactionId values, defined as uint32. We checked TransactionId rather than FullTransactionId. Its uint32 definition supports four bytes.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/include/c.h:742-742](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/include/c.h#L742-L742)
  Excerpt:
  ```text
  typedef uint32 TransactionId;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F29

### F30 · Accurate · Factual · The example uses the default 8-KiB heap page
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=Eight%20kilobyte%20page)
Article says:
```text
…Eight kilobyte page…
```
What is true:
configure.ac:250 defaults blocksize to 8. Line 255 maps that setting to 8192 bytes, or 8 KiB.
Charitable reading:
The example assumes PostgreSQL's default page size.
Review: We checked custom block-size alternatives. The finding correctly identifies 8 KiB as the default used by the example. We checked configurable page sizes. The finding correctly identifies 8 KiB as the default used by this example.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · configure.ac:250-255](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/configure.ac#L250-L255)
  Excerpt:
  ```text
  [blocksize=8])
case ${blocksize} in
  1) BLCKSZ=1024;;
  2) BLCKSZ=2048;;
  4) BLCKSZ=4096;;
  8) BLCKSZ=8192;;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F30

### F31 · Accurate · Factual · Eight GiB contains approximately one million heap pages
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=if%20you%20have%20eight%20gigabytes%2C%20okay%2C%20it%27s%20a%20million%20bits)
Article says:
```text
…if you have eight gigabytes, okay, it's a million bits…
```
What is true:
Eight GiB contains 1.05 million 8-KiB heap pages (derived: 8 × 2^30 / 8192). One all-visible flag per page gives approximately one million flags. The complete two-bit map requires approximately 256 KiB before page overhead.
Charitable reading:
The speaker explicitly calls the estimate rough. It counts one all-visible flag per heap page.
Review: We recalculated 8 GiB divided by 8 KiB: 1,048,576 pages. The two-bit map requires 256 KiB before overhead. We recalculated 8 GiB divided by 8 KiB. The result is 1,048,576 pages and 256 KiB of two-bit flags.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/include/access/visibilitymapdefs.h:17-17](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/include/access/visibilitymapdefs.h#L17-L17)
  Excerpt:
  ```text
  #define BITS_PER_HEAPBLOCK 2
  ```
- [REL_19_STABLE@4c0e3c1bfc · configure.ac:250-255](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/configure.ac#L250-L255)
  Excerpt:
  ```text
  [blocksize=8])
case ${blocksize} in
  1) BLCKSZ=1024;;
  2) BLCKSZ=2048;;
  4) BLCKSZ=4096;;
  8) BLCKSZ=8192;;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F31

### F32 · Accurate · Factual · Collected statistics support inequality selectivity estimates
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=10%25%20below%20the%20highest%20number,ID%20column%2C%20it%20can%20estimate)
Article says:
```text
…10% below the highest number on an ID column, it can estimate…
```
What is true:
src/backend/utils/adt/selfuncs.c:762 calls ineq_histogram_selectivity. PostgreSQL can estimate the inequality described. A 10% distance from the maximum does not promise 10% selectivity.
Charitable reading:
The speaker describes an estimate after collecting statistics and states a dense-packing assumption.
Review: We tested whether numerical distance guarantees row selectivity. The finding rejects that guarantee and verifies only histogram-based estimation. We tested whether the claim promises uniform density. It says PostgreSQL estimates, and the finding preserves that distinction.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/utils/adt/selfuncs.c:762-762](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/utils/adt/selfuncs.c#L762-L762)
  Excerpt:
  ```text
  hist_selec = ineq_histogram_selectivity(root, vardata,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F32

### F33 · Accurate · Factual · The restored page-count example yields a 100% estimated visibility fraction
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=100%2C000%20pages%2C%20and%20all%20of%20them%20are%20visible)
Article says:
```text
…100,000 pages, and all of them are visible…
```
What is true:
PostgreSQL 18 imports relallvisible into pg_class. tableam.c:757 sets allvisfrac to 1 when relallvisible reaches the current page count. The example's 100,000 visible pages among 100,000 heap pages yields 100% estimated visibility.
Charitable reading:
The 100,000-page count is a hypothetical example, not a reported measurement.
Review: We checked both the imported field and the ratio. Equal counts yield 100% estimated visibility, without proving actual page visibility. We checked the 18.6 evidence against the 18.0 calculation. Both yield an estimated visibility fraction of 1.

Sources:
- [REL_18_6 · src/backend/access/table/tableam.c:757-758](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/table/tableam.c#L757-L758)
  Qualification: Version note: PostgreSQL 18 statistics example.
  Excerpt:
  ```text
  else if ((double) relallvisible >= curpages)
		*allvisfrac = 1;
  ```
- [REL_18_6 · src/backend/statistics/relation_stats.c:173-174](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/statistics/relation_stats.c#L173-L174)
  Qualification: Version note: PostgreSQL 18 statistics import.
  Excerpt:
  ```text
  replaces[nreplaces] = Anum_pg_class_relallvisible;
		values[nreplaces] = UInt32GetDatum(relallvisible);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F33

## Notes (not graded) (7)

### F2 · Note ·  · Note: “…vacuumdb analyze only and analyze option, they take care of parent tables…”
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=vacuumdb%20analyze%20only%20and%20analyze,take%20care%20of%20parent%20tables)
Article says:
```text
…vacuumdb analyze only and analyze option, they take care of parent tables…
```
What is true:
PostgreSQL 19 vacuumdb --analyze omits partition parents from its default selection. --analyze-only includes them. This repeats F20. The evidence establishes missing statistics and possible planning costs, not incorrect query results.
So what:
Run vacuumdb --analyze-only after vacuumdb --analyze, or analyze partition parents explicitly, including on PostgreSQL 19.
Explanation: Not graded: no reader would act differently on it.
Review: F2 duplicates F20. Missing parent statistics can impair plans, but these sources do not establish silent wrong results. Grade F20 once. We checked whether --analyze selects an analysis-only mode. It does not. The default relation filter excludes partition parents.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuuming.c:666-677](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuuming.c#L666-L677)
  Excerpt:
  ```text
  if (vacopts->mode == MODE_ANALYZE ||
			vacopts->mode == MODE_ANALYZE_IN_STAGES)
			appendPQExpBufferStr(&catalog_query,
								 " AND c.relkind OPERATOR(pg_catalog.=) ANY (array["
								 CppAsString2(RELKIND_RELATION) ", "
								 CppAsString2(RELKIND_MATVIEW) ", "
								 CppAsString2(RELKIND_PARTITIONED_TABLE) "])\n");
		else
			appendPQExpBufferStr(&catalog_query,
								 " AND c.relkind OPERATOR(pg_catalog.=) ANY (array["
								 CppAsString2(RELKIND_RELATION) ", "
								 CppAsString2(RELKIND_MATVIEW) "])\n");
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuumdb.c:160-167](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuumdb.c#L160-L167)
  Excerpt:
  ```text
  case 'z':
				vacopts.and_analyze = true;
				break;
			case 'Z':
				/* if analyze-in-stages is given, don't override it */
				if (vacopts.mode != MODE_ANALYZE_IN_STAGES)
					vacopts.mode = MODE_ANALYZE;
				break;
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuumdb.c:38-39](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuumdb.c#L38-L39)
  Excerpt:
  ```text
  {"analyze", no_argument, NULL, 'z'},
		{"analyze-only", no_argument, NULL, 'Z'},
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/bin/scripts/vacuuming.c:659-664](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/scripts/vacuuming.c#L659-L664)
  Excerpt:
  ```text
  * VACUUM and ANALYZE commands.  In MODE_ANALYZE or
		 * MODE_ANALYZE_IN_STAGES modes, process regular tables, materialized
		 * views, and partitioned tables, just like ANALYZE (with no specific
		 * target tables) does. Otherwise, process only regular tables and
		 * materialized views, since VACUUM skips partitioned tables when no
		 * target tables are specified.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F2

### F3 · Note ·  · Note: “They begin a transaction, they truncate the table, and then they do the copy data…”
Location: excerpt · section “Dump/restore done. Now what?” · as fetched 2026-10-31 · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=They%20begin%20a%20transaction%2C%20they,they%20do%20the%20copy%20data)
Article says:
```text
They begin a transaction, they truncate the table, and then they do the copy data…
```
What is true:
pg_restore truncates before COPY for parallel restoration of tables created during that run, excluding load-via-partition-root. Serial restoration does not use this path. src/bin/pg_dump/pg_backup_archiver.c:1015 supplies these conditions. The article describes an existing path while discussing a proposed optimization and later acknowledges COPY FREEZE restrictions.
So what:
Check the COPY transaction's creation or truncation conditions before designing a COPY FREEZE substitution.
Explanation: Not graded: no reader would act differently on it.
Review: The described path exists. The surrounding discussion proposes COPY FREEZE and acknowledges restrictions. An omitted mode qualification warrants a note. We checked the ordinary parallel-restore reading. It fits that case, but the article omits conditions needed for its proposed substitution.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/bin/pg_dump/pg_backup_archiver.c:1015-1016](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/bin/pg_dump/pg_backup_archiver.c#L1015-L1016)
  Excerpt:
  ```text
  use_truncate = is_parallel && te->created &&
						!is_load_via_partition_root(te);
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/copy.sgml:264-269](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/copy.sgml#L264-L269)
  Excerpt:
  ```text
  Requests copying the data with rows already frozen, just as they
      would be after running the <command>VACUUM FREEZE</command> command.
      This is intended as a performance option for initial data loading.
      Rows will be frozen only if the table being loaded has been created
      or truncated in the current subtransaction, there are no cursors
      open and there are no older snapshots held by this transaction.  It is
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F3

### F5 · Note ·  · Note: “…if we delete some tuple It just marks xmin…”
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=if%20we%20delete%20some%20tuple%20It%20just%20marks%20xmin)
Article says:
```text
…if we delete some tuple It just marks xmin…
```
What is true:
DELETE records the deleting transaction in xmax. src/backend/access/heap/heapam.c:3065 calls HeapTupleHeaderSetXmax. doc/src/sgml/ddl.sgml:1511 describes the deleting transaction identifier. The article says xmin instead.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the spoken-reversal explanation. The surrounding passage repeats xmin. The cited excerpts establish xmax behavior but do not establish the xmin definition.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/heapam.c:3065-3065](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/heapam.c#L3065-L3065)
  Excerpt:
  ```text
  HeapTupleHeaderSetXmax(tp.t_data, new_xmax);
  ```
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ddl.sgml:1511-1516](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ddl.sgml#L1511-L1516)
  Excerpt:
  ```text
  <para>
      The identity (transaction ID) of the deleting transaction, or
      zero for an undeleted row version.  It is possible for this column to
      be nonzero in a visible row version. That usually indicates that the
      deleting transaction hasn't committed yet, or that an attempted
      deletion was rolled back.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F5

### F6 · Note ·  · Checksums detect corruption rather than prevent it
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=you%20will%20get%20data%20corruption%20without%20them)
Article says:
```text
…you will get data corruption without them…
```
What is true:
Checksums help detect corruption from the I/O system. Disabling checksums does not itself cause corruption. doc/src/sgml/ref/initdb.sgml:268 describes detection. The recommendation to enable checksums remains supported.
Charitable reading:
The sentence can emphasize the risk of undetected corruption. Its literal claim confuses detection with prevention.
Explanation: Not graded: no reader would act differently on it.
Review: We read the sentence as emphasizing undetected corruption. The note preserves the checksum recommendation and corrects only detection versus causation. We tested the warning about undetected corruption. That charitable reading supports keeping the detection distinction as a note.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · doc/src/sgml/ref/initdb.sgml:268-271](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/doc/src/sgml/ref/initdb.sgml#L268-L271)
  Excerpt:
  ```text
  Use checksums on data pages to help detect corruption by the I/O
        system that would otherwise be silent.  This is enabled by default;
        use <xref linkend="app-initdb-no-data-checksums"/> to disable
        checksums.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F6

### F7 · Note ·  · Note: “…the database will automatically keep track of the most minimal value…”
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=the%20database%20will%20automatically%20keep,of%20the%20most%20minimal%20value)
Article says:
```text
…the database will automatically keep track of the most minimal value…
```
What is true:
The planner can fetch actual minimum and maximum values from a suitable B-tree index. src/backend/utils/adt/selfuncs.c:6933 describes that operation. This excerpt does not establish whether PostgreSQL separately maintains endpoint statistics.
Explanation: Not graded: no reader would act differently on it.
Review: We tested whether endpoint retrieval disproves separately maintained statistics. E-29 establishes retrieval but does not establish the absence of another mechanism.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/utils/adt/selfuncs.c:6933-6940](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/utils/adt/selfuncs.c#L6933-L6940)
  Excerpt:
  ```text
  * get_actual_variable_range
 *		Attempt to identify the current *actual* minimum and/or maximum
 *		of the specified variable, by looking for a suitable btree index
 *		and fetching its low and/or high values.
 *		If successful, store values in *min and *max, and return true.
 *		(Either pointer can be NULL if that endpoint isn't needed.)
 *		If unsuccessful, return false.
 *
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F7

### F23 · Note ·  · Note: “…extended statistics won't be dumped…”
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=extended%20statistics%20won%27t%20be%20dumped)
Article says:
```text
…extended statistics won't be dumped…
```
What is true:
PostgreSQL 18 pg_dump documentation warns that --statistics may omit explicitly created statistics. E-35 supports that qualification. E-87 describes pg_upgrade and does not establish pg_dump behavior.
Explanation: Not graded: no reader would act differently on it.
Review: E-87 discusses pg_upgrade, not pg_dump. E-35 supports a narrower qualification about explicitly created statistics. We distinguished extended-statistics definitions from collected data. E-35 corroborates the dump limitation beyond E-87's upgrade discussion.

Sources:
- [REL_18_0 · doc/src/sgml/ref/pg_dump.sgml:1702-1707](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/ref/pg_dump.sgml#L1702-L1707)
  Excerpt:
  ```text
  If <option>--statistics</option> is specified,
   <command>pg_dump</command> will include most optimizer statistics in the
   resulting dump file.  However, some statistics may not be included, such as
   those created explicitly with <xref linkend="sql-createstatistics"/> or
   custom statistics added by an extension.  Therefore, it may be useful to
   run <command>ANALYZE</command> after restoring from a dump file to ensure
  ```
- [REL_18_0 · doc/src/sgml/release-18.sgml:3236-3238](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/doc/src/sgml/release-18.sgml#L3236-L3238)
  Qualification: Version note: The article discusses PostgreSQL 18 statistics transfer.
  Excerpt:
  ```text
  Extended statistics are not preserved.  Also add
      <application>pg_upgrade</application> option
      <option>--no-statistics</option> to disable statistics preservation.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F23

### F27 · Note ·  · Note: “It's just one bit for one page.”
Location: Article · exact quote · [open in article](https://postgres.fm/episodes/dump-restore-done-now-what/transcript#:~:text=It%27s%20just%20one%20bit%20for%20one%20page.)
Article says:
```text
It's just one bit for one page.
```
What is true:
PostgreSQL 19 can dirty heap and visibility-map buffers and generate WAL during on-access maintenance. E-98 and E-99 establish those operations. They do not quantify additional physical I/O beyond hint-bit processing or establish that the article understates that incremental cost.
So what:
Size first-read I/O from dirty heap pages, visibility-map pages, and WAL instead of counting visibility bits.
Explanation: Not graded: no reader would act differently on it.
Review: We tested incremental I/O after hint-bit work. Dirty-buffer calls do not establish extra physical writes or refute the qualitative cost comparison. We tested the logical-flag interpretation. That count is valid, but the surrounding argument uses it to estimate physical writes.

Sources:
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/pruneheap.c:1352-1359](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/pruneheap.c#L1352-L1359)
  Excerpt:
  ```text
  MarkBufferDirty(prstate.buffer);

		/*
		 * Emit a WAL XLOG_HEAP2_PRUNE* record showing what we did
		 */
		if (RelationNeedsWAL(prstate.relation))
		{
			log_heap_prune_and_freeze(prstate.relation, prstate.buffer,
  ```
- [REL_19_STABLE@4c0e3c1bfc · src/backend/access/heap/visibilitymap.c:298-299](https://github.com/postgres/postgres/blob/4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861/src/backend/access/heap/visibilitymap.c#L298-L299)
  Excerpt:
  ```text
  map[mapByte] |= (flags << mapOffset);
		MarkBufferDirty(vmBuf);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8#F27

## Withdrawn findings (0)

None.

## Section checks

- Transactions and parallel restore · B+ · 1 inaccuracy · 2 verified-accurate · 91% of claims (11 of 12)
- Partitioned tables · B+ · 1 inaccuracy · 60% of claims (3 of 5, plus 2 that need data we do not have)
- Restore transactions · A · none · 100% of claims (2 of 2, plus 2 that need data we do not have)
- Index creation · A · 1 imprecise · 100% of claims (2 of 2)
- Hint bits · A · 1 verified-accurate · 72% of claims (16 of 22, plus 1 that need data we do not have)
- Checksums · A · 1 verified-accurate · 85% of claims (6 of 7)
- Planner statistics · A · 1 verified-accurate · 87% of claims (7 of 8, plus 5 that need data we do not have)
- Post-restore maintenance · A · 1 verified-accurate · 57% of claims (4 of 7) provisional
- Visibility map · A · 4 verified-accurate · 68% of claims (11 of 16)
- Statistics transfer · A · 2 verified-accurate · 75% of claims (6 of 8, plus 3 that need data we do not have)
- Dump ordering · A · 1 verified-accurate · 37% of claims (3 of 8, plus 3 that need data we do not have) provisional
- COPY FREEZE · A · 2 verified-accurate · 84% of claims (11 of 13)
- Autovacuum · A · 1 verified-accurate · 54% of claims (6 of 11, plus 1 that need data we do not have) provisional
- Maintenance commands · A · 2 verified-accurate · 66% of claims (8 of 12)
- Read-time visibility · A · 1 verified-accurate · 100% of claims (8 of 8, plus 4 that need data we do not have)
- Restored layout · A · 1 verified-accurate · 33% of claims (1 of 3, plus 1 that need data we do not have) provisional
- Freezing · A · 1 verified-accurate · 100% of claims (3 of 3)
- Restored relation estimates · A · 1 verified-accurate · 72% of claims (8 of 11)

## Claim coverage

- Introduction: no checkable claims; not counted: 3 product or opinion, 2 not a claim
- Restore readiness: 2 of 4 Postgres claims checked, plus 4 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 2 for other reasons
- Documentation coverage: no checkable claims; not counted: 11 product or opinion, 3 duplicate
- Restore contents: 1 of 4 Postgres claims checked; not counted: 5 duplicate; not checked: 3 for other reasons
- Statistics transfer: 6 of 8 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate; not checked: 2 for other reasons
- Visibility map: 11 of 16 Postgres claims checked; not counted: 2 duplicate; not checked: 5 for other reasons
- Dump ordering: 3 of 8 Postgres claims checked, plus 3 that need data we do not have; not checked: 5 for other reasons
- Hint bits: 16 of 22 Postgres claims checked, plus 1 that need data we do not have; not checked: 6 for other reasons
- Planner statistics: 7 of 8 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 duplicate; not checked: 1 for other reasons
- Standby writes: 3 of 7 Postgres claims checked; not counted: 2 duplicate; not checked: 4 for other reasons
- Checksums: 6 of 7 Postgres claims checked; not counted: 1 product or opinion, 1 not a claim; not checked: 1 for other reasons
- Post-restore maintenance: 4 of 7 Postgres claims checked; not counted: 1 duplicate; not checked: 3 for other reasons
- Restore improvements: 1 of 2 Postgres claims checked, plus 1 that need data we do not have; not counted: 15 product or opinion; not checked: 1 for other reasons
- Autovacuum: 6 of 11 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 duplicate, 2 not a claim; not checked: 5 for other reasons
- Partitioned tables: 3 of 5 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate; not checked: 2 for other reasons
- Transactions and parallel restore: 11 of 12 Postgres claims checked; not checked: 1 for other reasons
- Maintenance commands: 8 of 12 Postgres claims checked; not counted: 1 duplicate; not checked: 4 for other reasons
- Operational experience: 9 claims are the author's own account; nothing checkable; not counted: 1 duplicate, 1 not a claim
- Restored relation estimates: 8 of 11 Postgres claims checked; not counted: 2 product or opinion, 1 duplicate; not checked: 3 for other reasons
- Tooling: no checkable claims; not counted: 2 product or opinion
- Restored layout: 1 of 3 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 duplicate; not checked: 3 for other reasons
- Restore transactions: 2 of 2 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 duplicate
- COPY FREEZE: 11 of 13 Postgres claims checked; not counted: 1 duplicate; not checked: 2 for other reasons
- Freezing: 3 of 3 Postgres claims checked
- Visibility and performance: 0 of 1 Postgres claims checked, plus 1 that need data we do not have; not checked: 1 for other reasons
- Index creation: 2 of 2 Postgres claims checked; not counted: 1 duplicate
- Read-time visibility: 8 of 8 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate
- Closing discussion: no checkable claims; not counted: 2 not a claim
- Closing recommendations: no checkable claims; not counted: 1 product or opinion, 4 duplicate

## What we did not check

- We did not reproduce the performance comparisons or test the proposed pg_restore changes.
- We did not verify restoration logs or visibility-map measurements behind the production example.
- We did not determine the fastest restoration settings or compare statistics-transfer choices for the article's workloads.
- We did not check the comparison of 28 platforms' documentation.
- We did not evaluate the backup-validation procedure deferred to another episode.
- We did not verify the comparison of 28 platform documentation pages.
- We did not verify the linked mailing-list discussions, videos, or social profiles.
- We did not reproduce the restore timings or the customer's reported performance improvements.
- We did not establish which PostgreSQL 19 changes occurred between October 23 and October 31, 2026.
- We did not complete every claim about hint bits, planner estimates, index creation, or restore options.
- We did not verify the claimed three-worker configurations on servers with 96 CPU cores.
- We did not verify the survey of 28 documentation pages or the claimed 80% prevalence.
- We did not measure first-read latency or WAL volume after restore.
- Transparent: we did not complete every applicable check.
- Section “Post-restore maintenance”: we checked 4 of 7 checkable claims.
- Section “Dump ordering”: we checked 3 of 11 checkable claims.
- Section “Autovacuum”: we checked 6 of 12 checkable claims.
- Section “Restored layout”: we checked 1 of 4 checkable claims.
- Section “Restore readiness”: we checked 2 of 8 checkable claims.
- Section “Restore contents”: we checked 1 of 4 checkable claims.
- Section “Standby writes”: we checked 3 of 7 checkable claims.
- Section “Restore improvements”: we checked 1 of 3 checkable claims.
- Section “Visibility and performance”: we checked 0 of 2 checkable claims.
- Transparent: author dated check did not finish.
- We could not decide whether the evidence backs the central claim.
- We could not decide whether the article depends on finding F1.
- We could not decide whether the article depends on finding F20.
- No fenced or preformatted code blocks were identified. Inline snippets and other setup instructions were not checked for syntax.

## Notes

- B — the findings address the article's main subject. What we did not check is listed below. The findings directly check post-restore maintenance, partition-parent analysis, visibility maps, hint bits, statistics transfer, and restoration transactions.
- 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 5 axes: 3 · result B
- 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@4c0e3c1bfc at commit 4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861 (pinned target); https://postgres.fm/ (fetched 2026-10-31T14:32:08.191073Z); https://postgres.fm/episodes (fetched 2026-10-31T14:32:09.306547Z); https://postgres.fm/episodes/dump-restore-done-now-what (fetched 2026-10-31T14:32:17.717655Z); https://postgres.fm/people (fetched 2026-10-31T14:32:10.415902Z).
- Article captured 2026-10-31T14:31:55.963379Z · SHA-256 587b69175aee35509b972099f5f914762e2f1a9e940ac888e6435e89c90544f3 · Text extracted from the article's HTML.
- Policy SHA-256 dc50d09351299fb9b71f54c0547c6e5a3df92b942f5e7d9b5143d470891b4f02 · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not reproduce restore timings, performance improvements, first-read latency, or WAL volume.
- We did not verify the restoration logs or visibility-map measurements behind the production example.
- We did not test the proposed pg_restore changes or determine the fastest restoration settings for the article's workloads.
- We did not compare statistics-transfer choices for the article's workloads.
- We did not verify the survey of 28 documentation pages or the claimed 80% prevalence.
- We did not verify the claimed three-worker configurations on servers with 96 CPU cores.
- We did not verify the linked mailing-list discussions, videos, or social profiles.
- We did not evaluate the backup-validation procedure deferred to another episode.
- We did not complete every claim about hint bits, planner estimates, index creation, or restore options.
- We checked PostgreSQL 19 at commit 4c0e3c1bfcf9d14b1be3f680c0c3be9f6101d861 and PostgreSQL 18 where the article specifies that version.
- We did not establish which PostgreSQL 19 changes occurred between October 23 and October 31, 2026.
- The article contains no identified code blocks. We did not check inline commands or setup instructions for syntax.
- The article gives October 23, 2026, without a publication time. We list midnight UTC.
- article target version: bound to the most-cited major; also named 18 (4×)
- review: the findings were written by one model and reviewed independently by a different model.
- 7 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, one pinned source tree, and 4 fetched pages.
- 26 survived · 7 weakened · 0 withdrawn.

## Edition changes

- F1 · recalibrated.
- F2 · weakened.
- F3 · weakened.
- F4 · recalibrated.
- F5 · weakened.
- F6 · recalibrated.
- F7 · weakened.
- F8 · recalibrated.
- F9 · recalibrated.
- F10 · recalibrated.
- F11 · recalibrated.
- F12 · recalibrated.
- F13 · recalibrated.
- F14 · recalibrated.
- F15 · recalibrated.
- F16 · recalibrated.
- F17 · recalibrated.
- F18 · recalibrated.
- F19 · weakened.
- F20 · recalibrated.
- F21 · recalibrated.
- F22 · recalibrated: We tested the unconditional-read interpretation. The finding correctly describes conditional behavior and excludes recovery. It duplicates F17. We tested a universal first-read interpretation. The finding correctly verifies conditional capability and excludes standby reads.
- F23 · weakened.
- F24 · recalibrated.
- F25 · recalibrated.
- F26 · recalibrated.
- F27 · weakened.
- F28 · recalibrated.
- F29 · recalibrated.
- F30 · recalibrated.
- F31 · recalibrated.
- F32 · recalibrated.
- F33 · recalibrated.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/e0b074b5-b88c-4626-b83b-3a0f7bdf8bd8?v=2) · this page · 2026-10-31 14:31 UTC · B · audited with v1.1.4
  Article as first submitted. 22 accurate · 2 wrong · 1 caveat.
  ElephantSeal: B. Open: the benchmark cannot yet be rerun from what is published; the production risk is not yet fixed or warned about; central claim not checked.
  Changes: First audit. Open: F1 “Parallel pg_restore waits for recorded dependencies” (false); F20 “PostgreSQL 19 vacuumdb --analyze still omits partitioned parents” (false); F4 “Index creation inside the loading transaction cannot set its commit hint” (mostly accurate).

Updated your article? Request a correction. A new edition appears at this address.