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(¶ms, &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).