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 ALimited coverage

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/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.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/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.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/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.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/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694)
<a href="https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694"><img src="https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/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/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/80214038-eee7-4860-b5ee-4e4ca5153694/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
   :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

14.1. Using EXPLAIN (opens in new tab)

postgresql.org
Sound as far as we checked.
0
inaccuracy
0
dangerous-recipe
0
misleading
0
imprecise
0
transcription
0
aged
0
withdrawn
6
verified-accurate

Factual A · Applicable A · Consistent A · Transparent A · Safe —

ReportTechnical fact-check, edition 3 Issued EditionUpdated after review. Corrections are listed below. SubmittedSubmitted by the PostgresAI team. Author responseNo written reply from the author. The article changed 1 time after our first audit; we re-audited each version. See Revisions below. Policy: right-of-reply and corrections policy. pgTrue versionaudited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)

InaccuraciesNone in this edition.

Dangerous or recipe bugsNone in this edition.

Misleading / impreciseNone in this edition.

Verified accurate

F2

ANALYZE enables BUFFERS unless explicitly overridden

ACCURATEFactual · holds up after review

Claim ledger

Article says
The ANALYZE option implicitly enables the BUFFERS option.
What is true
PostgreSQL 18 enables buffer statistics when ANALYZE is enabled. src/backend/commands/explain_state.c:179-180 preserves an explicit BUFFERS setting. The article's BUFFERS OFF example correctly overrides that default.
Charitable reading
The claim targets PostgreSQL 18. Earlier supported-version navigation links do not promise identical behavior in those releases.

Source

Source · REL_18_6 · src/backend/commands/explain_state.c:179-180/* if the buffers was not set explicitly, set default value */ es->buffers = (buffers_set) ? es->buffers : es->analyze;
In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

EXPLAIN has a BUFFERS option which provides additional detail about I/O operations performed during the planning and execution of the given query. The buffer numbers displayed show the count of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes. The ANALYZE option implicitly enables the BUFFERS option. If this is undesired, BUFFERS may be explicitly disabled:

EXPLAIN (ANALYZE, BUFFERS OFF) SELECT * FROM tenk1 WHERE unique1 < 100 AND unique2 > 9000;

                                                           QUERY PLAN
---------------------------------------------------------------------------------------------------------------------------------
 Bitmap Heap Scan on tenk1  (cost=25.07..60.11 rows=10 width=244) (actual time=0.105..0.114 rows=10.00 loops=1)
   Recheck Cond: ((unique1 < 100) AND (unique2 > 9000))
   Heap Blocks: exact=10
   ->  BitmapAnd  (cost=25.07..25.07 rows=10 width=0) (actual time=0.100..0.101 rows=0.00 loops=1)
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.027..0.027 rows=100.00 loops=1)
               Index Cond: (unique1 < 100)
               Index Searches: 1
         ->  Bitmap Index Scan on tenk1_unique2  (cost=0.00..19.78 rows=999 width=0) (actual time=0.070..0.070 rows=999.00 loops=1)
               Index Cond: (unique2 > 9000)
               Index Searches: 1
 Planning Time: 0.162 ms
 Execution Time: 0.143 ms
All sources and excerpts · 1
Evidence /* if the buffers was not set explicitly, set default value */ es->buffers = (buffers_set) ? es->buffers : es->analyze;

Version note: PostgreSQL 18 matches the article's documentation version.

How the review tested this

Review: We tested the explicit-override interpretation. REL_18_6 preserves BUFFERS OFF and otherwise copies the ANALYZE setting. We tested the explicit-override reading. PostgreSQL 18 assigns the ANALYZE default only when BUFFERS lacks an explicit setting.

F3

Node actual times and rows are per-loop averages

ACCURATEFactual · holds up after review

Claim ledger

Article says
…the actual time and rows values shown are averages per-execution…
What is true
EXPLAIN divides accumulated node times and emitted rows by the loop count. src/backend/commands/explain.c:1832-1835 also converts elapsed seconds to milliseconds. Multiplying the displayed average by loops recovers the accumulated value, subject to display rounding.
Charitable reading
The statement concerns node actual time and rows. It does not claim that buffer or index-search counters use averages.

Source

Source · REL_18_6 · src/backend/commands/explain.c:1832-1835double nloops = planstate->instrument->nloops; double startup_ms = 1000.0 * planstate->instrument->startup / nloops; double total_ms = 1000.0 * planstate->instrument->total / nloops; double rows = planstate->instrument->ntuples / nloops;
In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

In some query plans, it is possible for a subplan node to be executed more than once. For example, the inner index scan will be executed once per outer row in the above nested-loop plan. In such cases, the loops value reports the total number of executions of the node, and the actual time and rows values shown are averages per-execution. This is done to make the numbers comparable with the way that the cost estimates are shown. Multiply by the loops value to get the total time actually spent in the node. In the above example, we spent a total of 0.030 milliseconds executing the index scans on tenk2 .

EXPLAIN ANALYZE SELECT *
FROM tenk1 t1, tenk2 t2
WHERE t1.unique1 < 100 AND t1.unique2 = t2.unique2 ORDER BY t1.fivethous;

                                                                 QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------------------
 Sort  (cost=713.05..713.30 rows=100 width=488) (actual time=2.995..3.002 rows=100.00 loops=1)
   Sort Key: t1.fivethous
   Sort Method: quicksort  Memory: 74kB
   Buffers: shared hit=440
   ->  Hash Join  (cost=226.23..709.73 rows=100 width=488) (actual time=0.515..2.920 rows=100.00 loops=1)
         Hash Cond: (t2.unique2 = t1.unique2)
         Buffers: shared hit=437
         ->  Seq Scan on tenk2 t2  (cost=0.00..445.00 rows=10000 width=244) (actual time=0.026..1.790 rows=10000.00 loops=1)
               Buffers: shared hit=345
         ->  Hash  (cost=224.98..224.98 rows=100 width=244) (actual time=0.476..0.477 rows=100.00 loops=1)
               Buckets: 1024  Batches: 1  Memory Usage: 35kB
               Buffers: shared hit=92
               ->  Bitmap Heap Scan on tenk1 t1  (cost=5.06..224.98 rows=100 width=244) (actual time=0.030..0.450 rows=100.00 loops=1)
                     Recheck Cond: (unique1 < 100)
                     Heap Blocks: exact=90
                     Buffers: shared hit=92
                     ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.013..0.013 rows=100.00 loops=1)
                           Index Cond: (unique1 < 100)
                           Index Searches: 1
                           Buffers: shared hit=2
 Planning:
   Buffers: shared hit=12
 Planning Time: 0.187 ms
 Execution Time: 3.036 ms
All sources and excerpts · 1
Evidence double nloops = planstate->instrument->nloops; double startup_ms = 1000.0 * planstate->instrument->startup / nloops; double total_ms = 1000.0 * planstate->instrument->total / nloops; double rows = planstate->instrument->ntuples / nloops;

Version note: PostgreSQL 18 matches the article's documentation version.

How the review tested this

Review: We checked whether the statement incorrectly includes buffer counters. It concerns time and rows, which REL_18_6 divides by nloops. We checked whether the statement includes other counters. Its scope remains actual times and rows, which PostgreSQL 18 divides by nloops.

F14

PostgreSQL 18 remains the current production release

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Supported Versions: Current ( 18 )…
What is true
The documentation index identifies PostgreSQL 18 as current on October 19, 2026.
Charitable reading
Current means the current production release, rather than the newest release candidate.

Source

Source · https://www.postgresql.org/docs/18/index.htmlSupported Versions: Current ( 18 )
In the article

In the article

excerpt · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Supported Versions: Current ( 18 ) / 17 / 16 / 15 / 14

14.1. Using EXPLAIN Prev Up Chapter 14. Performance Tips Home Next
All sources and excerpts · 1
EvidenceSupported Versions: Current ( 18 )
How the review tested this

Review: We checked whether PostgreSQL 19 RC 1 invalidates the current-release label. The dated documentation still identifies PostgreSQL 18 as current. We checked whether PostgreSQL 19 RC 1 changes the production-release label. E-30 still identifies PostgreSQL 18 as current.

F15

PostgreSQL 19 remains a development release

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Development Versions: 19 / devel…
What is true
The October 15, 2026 announcement identifies PostgreSQL 19 as its first release candidate.
Charitable reading
A release candidate remains a development release until general availability.

Source

Source · https://www.postgresql.org/docs/19/using-explain.htmlWhen the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.
In the article

In the article

excerpt · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Development Versions: 19 / devel

14.1. Using EXPLAIN Prev Up Chapter 14. Performance Tips Home Next
All sources and excerpts · 1
EvidenceWhen the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.
How the review tested this

Review: We checked the full E-29 page because its selected quotation concerns disabled nodes. Its header identifies October 15 and RC 1. We read the complete E-29 page beyond its selected quotation. Its header identifies PostgreSQL 19 RC 1 on October 15.

F16

PostgreSQL 13 and earlier remain unsupported

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Unsupported versions: 13 / 12 / 11 / 10 / 9.6…
What is true
The documentation index lists PostgreSQL 13 and the displayed earlier releases as unsupported.
Charitable reading
Unsupported refers to upstream support status.

Source

Source · https://www.postgresql.org/docs/18/index.htmlUnsupported versions: 13 / 12 / 11 / 10 / 9.6
In the article

In the article

excerpt · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Unsupported versions: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2

14.1. Using EXPLAIN Prev Up Chapter 14. Performance Tips Home Next
All sources and excerpts · 1
EvidenceUnsupported versions: 13 / 12 / 11 / 10 / 9.6
How the review tested this

Review: We checked whether unsupported means unavailable. The finding restricts the claim to upstream support, matching the documentation index. We tested upstream support against possible vendor support. The claim concerns upstream status, which E-31 corroborates.

F22

Verified accurate: “…a total of 0.030 milliseconds…”

ACCURATEFactual · partly holds after review

Claim ledger

Article says
…a total of 0.030 milliseconds…
What is true
The rounded displayed values imply approximately 0.030 milliseconds (derived: 0.003 milliseconds per loop × 10 loops). E-47 verifies time averaging in PostgreSQL 19. It does not independently verify PostgreSQL 18.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/commands/explain.c:1847-1847double total_ms = INSTR_TIME_GET_MILLISEC(instr->instr.total) / nloops;
In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

In some query plans, it is possible for a subplan node to be executed more than once. For example, the inner index scan will be executed once per outer row in the above nested-loop plan. In such cases, the loops value reports the total number of executions of the node, and the actual time and rows values shown are averages per-execution. This is done to make the numbers comparable with the way that the cost estimates are shown. Multiply by the loops value to get the total time actually spent in the node. In the above example, we spent a total of 0.030 milliseconds executing the index scans on tenk2 .

EXPLAIN ANALYZE SELECT *
FROM tenk1 t1, tenk2 t2
WHERE t1.unique1 < 100 AND t1.unique2 = t2.unique2 ORDER BY t1.fivethous;

                                                                 QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------------------
 Sort  (cost=713.05..713.30 rows=100 width=488) (actual time=2.995..3.002 rows=100.00 loops=1)
   Sort Key: t1.fivethous
   Sort Method: quicksort  Memory: 74kB
   Buffers: shared hit=440
   ->  Hash Join  (cost=226.23..709.73 rows=100 width=488) (actual time=0.515..2.920 rows=100.00 loops=1)
         Hash Cond: (t2.unique2 = t1.unique2)
         Buffers: shared hit=437
         ->  Seq Scan on tenk2 t2  (cost=0.00..445.00 rows=10000 width=244) (actual time=0.026..1.790 rows=10000.00 loops=1)
               Buffers: shared hit=345
         ->  Hash  (cost=224.98..224.98 rows=100 width=244) (actual time=0.476..0.477 rows=100.00 loops=1)
               Buckets: 1024  Batches: 1  Memory Usage: 35kB
               Buffers: shared hit=92
               ->  Bitmap Heap Scan on tenk1 t1  (cost=5.06..224.98 rows=100 width=244) (actual time=0.030..0.450 rows=100.00 loops=1)
                     Recheck Cond: (unique1 < 100)
                     Heap Blocks: exact=90
                     Buffers: shared hit=92
                     ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.013..0.013 rows=100.00 loops=1)
                           Index Cond: (unique1 < 100)
                           Index Searches: 1
                           Buffers: shared hit=2
 Planning:
   Buffers: shared hit=12
 Planning Time: 0.187 ms
 Execution Time: 3.036 ms
All sources and excerpts · 1
Evidence double total_ms = INSTR_TIME_GET_MILLISEC(instr->instr.total) / nloops;

Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.

How the review tested this

Review: We checked multiplication and displayed rounding. The arithmetic stands. E-47 establishes averaging in PostgreSQL 19 rather than PostgreSQL 18.

Notes

16 not graded: findings no reader would act on differently
F1

Note: “…any side-effects will happen as usual…”

NOTEpartly holds after review

Claim ledger

Article says
…any side-effects will happen as usual…
What is true
PostgreSQL 19 explain.c calls ExecutorRun and ExecutorFinish when ANALYZE requests execution. E-2 supports that mechanism. Its PostgreSQL 19 citation does not directly verify the article's PostgreSQL 18 implementation.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/commands/explain.c:575-590/* run the plan */ ExecutorRun(queryDesc, dir, 0); /* run cleanup too */ ExecutorFinish(queryDesc);

Not graded: no reader would act differently on it.

In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

Keep in mind that because EXPLAIN ANALYZE actually runs the query, any side-effects will happen as usual, even though whatever results the query might output are discarded in favor of printing the EXPLAIN data. If you want to analyze a data-modifying query without changing your tables, you can roll the command back afterwards, for example:

BEGIN;

EXPLAIN ANALYZE UPDATE tenk1 SET hundred = hundred + 1 WHERE unique1 < 100;

                                                           QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------
 Update on tenk1  (cost=5.06..225.23 rows=0 width=0) (actual time=1.634..1.635 rows=0.00 loops=1)
   ->  Bitmap Heap Scan on tenk1  (cost=5.06..225.23 rows=100 width=10) (actual time=0.065..0.141 rows=100.00 loops=1)
         Recheck Cond: (unique1 < 100)
         Heap Blocks: exact=90
         Buffers: shared hit=4 read=2
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.031..0.031 rows=100.00 loops=1)
               Index Cond: (unique1 < 100)
               Index Searches: 1
               Buffers: shared read=2
 Planning Time: 0.151 ms
 Execution Time: 1.856 ms

ROLLBACK;
All sources and excerpts · 1
Evidence /* run the plan */ ExecutorRun(queryDesc, dir, 0); /* run cleanup too */ ExecutorFinish(queryDesc);
How the review tested this

Review: We checked the ANALYZE condition and execution calls. E-2 confirms PostgreSQL 19 behavior, while the article describes PostgreSQL 18. We checked the ANALYZE guard and ExecutorRun call. The ordinary UPDATE context supports the side-effect warning. PostgreSQL 18 agrees.

F4

Note: “…the Limit node stopped requesting rows after it got two…”

NOTEpartly holds after review

Claim ledger

Article says
…the Limit node stopped requesting rows after it got two…
What is true
PostgreSQL 19 nodeLimit.c stops ordinary LIMIT execution at the requested count. E-8 confirms that mechanism. The recorded source citation targets PostgreSQL 19 rather than the article's PostgreSQL 18.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/executor/nodeLimit.c:153-160if (!node->noCount && node->position - node->offset >= node->count) { if (node->limitOption == LIMIT_OPTION_COUNT) { node->lstate = LIMIT_WINDOWEND; return NULL; }

Not graded: no reader would act differently on it.

In the article · section “14.1.3. Caveats #”

In the article

excerpt · section “14.1.3. Caveats #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.3. Caveats #

the estimated cost and row count for the Index Scan node are shown as though it were run to completion. But in reality the Limit node stopped requesting rows after it got two, so the actual row count is only 2 and the run time is less than the cost estimate would suggest. This is not an estimation error, only a discrepancy in the way the estimates and true values are displayed.

All sources and excerpts · 1
Evidence if (!node->noCount && node->position - node->offset >= node->count) { if (node->limitOption == LIMIT_OPTION_COUNT) { node->lstate = LIMIT_WINDOWEND; return NULL; }
How the review tested this

Review: We checked WITH TIES as a counterexample. Ordinary LIMIT supports the explanation, but E-8 cites PostgreSQL 19. We checked the WITH TIES exception. The example uses ordinary LIMIT 2, and the count boundary returns NULL.

F5

Note: “…(disk pages read * seq_page_cost ) + (rows scanned * cpu_tuple_cost )…”

NOTEpartly holds after review

Claim ledger

Article says
…(disk pages read * seq_page_cost ) + (rows scanned * cpu_tuple_cost )…
What is true
The example's formula matches PostgreSQL 19 costsize.c page and tuple terms under its stated assumptions. E-10 does not directly establish the PostgreSQL 18 implementation.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/optimizer/path/costsize.c:299-338disk_run_cost = spc_seq_page_cost * baserel->pages; /* CPU costs */ get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost); startup_cost += qpqual_cost.startup; cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple; cpu_run_cost = cpu_per_tuple * baserel->tuples;

Not graded: no reader would act differently on it.

In the article · section “14.1.1. EXPLAIN Basics #”

In the article

excerpt · section “14.1.1. EXPLAIN Basics #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.1. EXPLAIN Basics #

you will find that tenk1 has 345 disk pages and 10000 rows. The estimated cost is computed as (disk pages read * seq_page_cost ) + (rows scanned * cpu_tuple_cost ). By default, seq_page_cost is 1.0 and cpu_tuple_cost is 0.01, so the estimated cost is (345 * 1.0) + (10000 * 0.01) = 445.

EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 7000;

                         QUERY PLAN
------------------------------------------------------------
 Seq Scan on tenk1  (cost=0.00..470.00 rows=7000 width=244)
   Filter: (unique1 < 7000)
All sources and excerpts · 1
Evidence disk_run_cost = spc_seq_page_cost * baserel->pages; /* CPU costs */ get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost); startup_cost += qpqual_cost.startup; cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple; cpu_run_cost = cpu_per_tuple * baserel->tuples;
How the review tested this

Review: We checked omitted qualification costs. The unfiltered example avoids that objection, but its source confirmation uses PostgreSQL 19. We checked omitted qualification, projection, and parallel costs. The finding restricts the formula to the unfiltered serial example.

F6

Note: “…allows returning tuples before the entire result set has been sorted…”

NOTEpartly holds after review

Claim ledger

Article says
…allows returning tuples before the entire result set has been sorted…
What is true
PostgreSQL 19 nodeIncrementalSort.c documents possible output before the entire result becomes available. E-12 supports a possibility, not a guarantee. Its citation does not target PostgreSQL 18.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/executor/nodeIncrementalSort.c:67-69* Sorting incrementally can potentially use less memory, avoid fetching * and sorting all tuples in the dataset, and begin returning tuples before * the entire result set is available.

Not graded: no reader would act differently on it.

In the article · section “14.1.1. EXPLAIN Basics #”

In the article

excerpt · section “14.1.1. EXPLAIN Basics #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.1. EXPLAIN Basics #

Compared to regular sorts, sorting incrementally allows returning tuples before the entire result set has been sorted, which particularly enables optimizations with LIMIT queries. It may also reduce memory usage and the likelihood of spilling sorts to disk, but it comes at the cost of the increased overhead of splitting the result set into multiple sorting batches.

EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 100 AND unique2 > 9000;

                                     QUERY PLAN
-------------------------------------------------------------------------------------
 Bitmap Heap Scan on tenk1  (cost=25.07..60.11 rows=10 width=244)
   Recheck Cond: ((unique1 < 100) AND (unique2 > 9000))
   ->  BitmapAnd  (cost=25.07..25.07 rows=10 width=0)
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0)
               Index Cond: (unique1 < 100)
         ->  Bitmap Index Scan on tenk1_unique2  (cost=0.00..19.78 rows=999 width=0)
               Index Cond: (unique2 > 9000)
All sources and excerpts · 1
Evidence * Sorting incrementally can potentially use less memory, avoid fetching * and sorting all tuples in the dataset, and begin returning tuples before * the entire result set is available.
How the review tested this

Review: We considered a single large prefix group. The article claims a possibility, which E-12 supports for PostgreSQL 19. We tested whether one large group defeats the claim. The finding says incremental sort can emit early, without guaranteeing it.

F7

GiST polygon candidates come from bounding-box tests

NOTEholds up after review

Claim ledger

Article says
…returns the rows with polygons that overlap the target…
What is true
GiST polygon indexes test bounding boxes and request exact rechecks. src/backend/access/gist/gistproc.c:1072-1084 passes query->boundbox to the consistency function. PostgreSQL 18's doc/src/sgml/perform.sgml:959-961 uses the article's polygon-overlap wording. We found no demonstrated recipe error.
Charitable reading
The example searches for a point represented as a polygon. Bounding-box candidates still require exact polygon containment checks.

Source

Source · REL_18_6 · src/backend/access/gist/gistproc.c:1072-1084/* * Since the operators require recheck anyway, we can just use * rtree_internal_consistent even at leaf nodes. (This works in part * because the index entries are bounding boxes not polygons.) */ result = rtree_internal_consistent(DatumGetBoxP(entry->key), &(query->boundbox), strategy);

Not graded: knowing this would not change what a reader does.

In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

Here we can see that the index returned one candidate row, which was then rejected by a recheck of the index condition. This happens because a GiST index is “ lossy ” for polygon containment tests: it actually returns the rows with polygons that overlap the target, and then we have to do the exact containment test on those rows.

EXPLAIN (ANALYZE, BUFFERS OFF) SELECT * FROM tenk1 WHERE unique1 < 100 AND unique2 > 9000;

                                                           QUERY PLAN
---------------------------------------------------------------------------------------------------------------------------------
 Bitmap Heap Scan on tenk1  (cost=25.07..60.11 rows=10 width=244) (actual time=0.105..0.114 rows=10.00 loops=1)
   Recheck Cond: ((unique1 < 100) AND (unique2 > 9000))
   Heap Blocks: exact=10
   ->  BitmapAnd  (cost=25.07..25.07 rows=10 width=0) (actual time=0.100..0.101 rows=0.00 loops=1)
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.027..0.027 rows=100.00 loops=1)
               Index Cond: (unique1 < 100)
               Index Searches: 1
         ->  Bitmap Index Scan on tenk1_unique2  (cost=0.00..19.78 rows=999 width=0) (actual time=0.070..0.070 rows=999.00 loops=1)
               Index Cond: (unique2 > 9000)
               Index Searches: 1
 Planning Time: 0.162 ms
 Execution Time: 0.143 ms
All sources and excerpts · 2
Evidence /* * Since the operators require recheck anyway, we can just use * rtree_internal_consistent even at leaf nodes. (This works in part * because the index entries are bounding boxes not polygons.) */ result = rtree_internal_consistent(DatumGetBoxP(entry->key), &(query->boundbox), strategy);

Version note: PostgreSQL 18 matches the article's documentation version.

Evidence GiST index is <quote>lossy</quote> for polygon containment tests: it actually returns the rows with polygons that overlap the target, and then we have to do the exact containment test on those rows.

Version note: The version-matched official documentation contains the same wording.

How the review tested this

Review: We checked the point-as-polygon interpretation. The implementation tests bounding boxes and requests rechecks. The note appropriately acknowledges official wording. We checked the degenerate-polygon example and official wording. Bounding-box tests and exact rechecks support the existing ungraded distinction.

F8

Note: “…ANALYZE 's statistics are random samples rather than exact…”

NOTEpartly holds after review

Claim ledger

Article says
…ANALYZE 's statistics are random samples rather than exact…
What is true
PostgreSQL 19 analyze.c documents block sampling followed by row sampling. Small relations can fit entirely within the targets. E-17 confirms PostgreSQL 19 rather than directly verifying PostgreSQL 18.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/commands/analyze.c:1268-1275* As of May 2004 we use a new two-stage method: Stage one selects up * to targrows random blocks (or all blocks, if there aren't so many). * Stage two scans these blocks and uses the Vitter algorithm to create * a random sample of targrows rows (or less, if there are less in the * sample of blocks).

Not graded: no reader would act differently on it.

In the article · section “14.1. Using EXPLAIN #”

In the article

excerpt · section “14.1. Using EXPLAIN #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1. Using EXPLAIN #

Examples in this section are drawn from the regression test database after doing a VACUUM ANALYZE , using v18 development sources. You should be able to get similar results if you try the examples yourself, but your estimated costs and row counts might vary slightly because ANALYZE 's statistics are random samples rather than exact, and because costs are inherently somewhat platform-dependent.

All sources and excerpts · 1
Evidence * As of May 2004 we use a new two-stage method: Stage one selects up * to targrows random blocks (or all blocks, if there aren't so many). * Stage two scans these blocks and uses the Vitter algorithm to create * a random sample of targrows rows (or less, if there are less in the * sample of blocks).
How the review tested this

Review: We considered tables smaller than the sampling target. E-17 acknowledges that exception but cites PostgreSQL 19. We checked the small-table exception. The source allows sampling all blocks, while the finding only says estimates can change.

F9

Note: “…EXPLAIN actually executes the query…”

NOTEpartly holds after review

Claim ledger

Article says
…EXPLAIN actually executes the query…
What is true
PostgreSQL 16 documentation states that EXPLAIN ANALYZE executes the query and reports actual statistics. E-26 establishes that release's behavior, not a version-matched PostgreSQL 18 confirmation.

Source

Source · https://www.postgresql.org/docs/16/using-explain.htmlWith this option, EXPLAIN actually executes the query, and then displays the true row counts and true run time accumulated within each plan node,

Not graded: no reader would act differently on it.

In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

It is possible to check the accuracy of the planner's estimates by using EXPLAIN 's ANALYZE option. With this option, EXPLAIN actually executes the query, and then displays the true row counts and true run time accumulated within each plan node, along with the same estimates that a plain EXPLAIN shows. For example, we might get a result like this:

EXPLAIN ANALYZE SELECT *
FROM tenk1 t1, tenk2 t2
WHERE t1.unique1 < 10 AND t1.unique2 = t2.unique2;

                                                           QUERY PLAN
---------------------------------------------------------------------------------------------------------------------------------
 Nested Loop  (cost=4.65..118.50 rows=10 width=488) (actual time=0.017..0.051 rows=10.00 loops=1)
   Buffers: shared hit=36 read=6
   ->  Bitmap Heap Scan on tenk1 t1  (cost=4.36..39.38 rows=10 width=244) (actual time=0.009..0.017 rows=10.00 loops=1)
         Recheck Cond: (unique1 < 10)
         Heap Blocks: exact=10
         Buffers: shared hit=3 read=5 written=4
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..4.36 rows=10 width=0) (actual time=0.004..0.004 rows=10.00 loops=1)
               Index Cond: (unique1 < 10)
               Index Searches: 1
               Buffers: shared hit=2
   ->  Index Scan using tenk2_unique2 on tenk2 t2  (cost=0.29..7.90 rows=1 width=244) (actual time=0.003..0.003 rows=1.00 loops=10)
         Index Cond: (unique2 = t1.unique2)
         Index Searches: 10
         Buffers: shared hit=24 read=6
 Planning:
   Buffers: shared hit=15 dirtied=9
 Planning Time: 0.485 ms
 Execution Time: 0.073 ms
All sources and excerpts · 1
EvidenceWith this option, EXPLAIN actually executes the query, and then displays the true row counts and true run time accumulated within each plan node,
How the review tested this

Review: We checked the preceding ANALYZE qualification. The claim respects it, but E-26 documents PostgreSQL 16. We restored the omitted ANALYZE context around the quotation. PostgreSQL 16 and the current documentation describe the same execution behavior.

F10

Note: “…network transmission costs are not included…”

NOTEpartly holds after review

Claim ledger

Article says
…network transmission costs are not included…
What is true
PostgreSQL 15 documentation excludes result-transmission costs from EXPLAIN ANALYZE timings. E-27 supports that release's rule. It does not directly verify PostgreSQL 18.

Source

Source · https://www.postgresql.org/docs/15/using-explain.htmlnetwork transmission costs and I/O conversion costs are not included.

Not graded: no reader would act differently on it.

In the article · section “14.1.3. Caveats #”

In the article

excerpt · section “14.1.3. Caveats #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.3. Caveats #

There are two significant ways in which run times measured by EXPLAIN ANALYZE can deviate from normal execution of the same query. First, since no output rows are delivered to the client, network transmission costs are not included. I/O conversion costs are not included either unless SERIALIZE is specified. Second, the measurement overhead added by EXPLAIN ANALYZE can be significant, especially on machines with slow gettimeofday() operating-system calls. You can use the pg_test_timing tool to measure the overhead of timing on your system.

All sources and excerpts · 1
Evidencenetwork transmission costs and I/O conversion costs are not included.
How the review tested this

Review: We distinguished result transmission from query-triggered network activity. The distinction holds, but E-27 targets PostgreSQL 15. We checked whether SERIALIZE changes result transmission. It changes conversion accounting, while EXPLAIN still discards query result rows.

F11

Note: “…by specifying the SERIALIZE option…”

NOTEpartly holds after review

Claim ledger

Article says
…by specifying the SERIALIZE option…
What is true
PostgreSQL 17 documentation describes SERIALIZE as measuring output conversion. E-28 establishes the option in PostgreSQL 17. Its citation does not directly verify PostgreSQL 18.

Source

Source · https://www.postgresql.org/docs/17/using-explain.htmlit can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…by specifying the SERIALIZE option…
All sources and excerpts · 1
Evidenceit can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .
How the review tested this

Review: We checked whether SERIALIZE promises network timing. It only measures conversion. E-28 documents PostgreSQL 17. We checked the option's scope across versions. PostgreSQL 17 and the current documentation both describe output conversion measurement.

F12

Note: “…it's also included in the total Execution time…”

NOTEpartly holds after review

Claim ledger

Article says
…it's also included in the total Execution time…
What is true
PostgreSQL 17 documentation includes requested serialization in total Execution Time and reports it separately. E-28 supports PostgreSQL 17 accounting rather than directly verifying PostgreSQL 18.

Source

Source · https://www.postgresql.org/docs/17/using-explain.htmlit can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…it's also included in the total Execution time…
All sources and excerpts · 1
Evidenceit can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .
How the review tested this

Review: We checked the condition that SERIALIZE requests conversion. E-28 supports the accounting rule for PostgreSQL 17. We checked whether separate serialization reporting excludes it from Execution Time. E-28 explicitly includes it in both presentations.

F13

Note: “…the EXPLAIN output will indicate this fact.”

NOTEpartly holds after review

Claim ledger

Article says
…the EXPLAIN output will indicate this fact.
What is true
PostgreSQL 19 documentation retains the disabled-node annotation statement. E-29 confirms its presence in PostgreSQL 19. That citation alone does not establish PostgreSQL 18 output behavior.

Source

Source · https://www.postgresql.org/docs/19/using-explain.htmlWhen the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…the EXPLAIN output will indicate this fact.
All sources and excerpts · 1
EvidenceWhen the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.
How the review tested this

Review: We checked whether later documentation independently verifies PostgreSQL 18 output. E-29 establishes retention in PostgreSQL 19 only. We checked the disabled-node context and version scope. The finding narrowly verifies retained documentation, which E-29 supports.

F17

Note: “…Buffers: shared hit=36 read=6…”

NOTEpartly holds after review

Claim ledger

Article says
…Buffers: shared hit=36 read=6…
What is true
The example's children report 11 shared-buffer reads, while the parent reports six. E-35 says parent totals include child accesses. The current official documentation repeats these inconsistent figures. Treat this as an example-output defect, not evidence against the stated accounting rule.
So what
Use fresh EXPLAIN (ANALYZE, BUFFERS) output when checking parent and child buffer totals.

Source

Source · https://www.postgresql.org/docs/current/using-explain.htmlcount of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.

Not graded: no reader would act differently on it.

In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

EXPLAIN ANALYZE SELECT *
FROM tenk1 t1, tenk2 t2
WHERE t1.unique1 < 10 AND t1.unique2 = t2.unique2;

                                                           QUERY PLAN
---------------------------------------------------------------------------------------------------------------------------------
 Nested Loop  (cost=4.65..118.50 rows=10 width=488) (actual time=0.017..0.051 rows=10.00 loops=1)
   Buffers: shared hit=36 read=6
   ->  Bitmap Heap Scan on tenk1 t1  (cost=4.36..39.38 rows=10 width=244) (actual time=0.009..0.017 rows=10.00 loops=1)
         Recheck Cond: (unique1 < 10)
         Heap Blocks: exact=10
         Buffers: shared hit=3 read=5 written=4
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..4.36 rows=10 width=0) (actual time=0.004..0.004 rows=10.00 loops=1)
               Index Cond: (unique1 < 10)
               Index Searches: 1
               Buffers: shared hit=2
   ->  Index Scan using tenk2_unique2 on tenk2 t2  (cost=0.29..7.90 rows=1 width=244) (actual time=0.003..0.003 rows=1.00 loops=10)
         Index Cond: (unique2 = t1.unique2)
         Index Searches: 10
         Buffers: shared hit=24 read=6
 Planning:
   Buffers: shared hit=15 dirtied=9
 Planning Time: 0.485 ms
 Execution Time: 0.073 ms
All sources and excerpts · 1
Evidencecount of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.
How the review tested this

Review: The 11-versus-six contradiction survives. These are official documentation example figures, without a demonstrated operational error or defective reader command. We tested distinct-page accounting and per-loop averaging. Neither explains six parent reads against 11 child reads. The action and wasted-work consequence fit.

F18

Note: “…Heap Blocks: exact=90 Buffers: shared hit=4 read=2…”

NOTEpartly holds after review

Claim ledger

Article says
…Heap Blocks: exact=90 Buffers: shared hit=4 read=2…
What is true
The UPDATE example displays 90 exact heap blocks and six shared-buffer accesses. The current official documentation repeats those figures. E-37 and E-38 show block fetching and counting in PostgreSQL 19. Those excerpts alone do not establish the complete PostgreSQL 18 buffer-accounting path.
So what
Collect EXPLAIN (ANALYZE, BUFFERS) for the UPDATE before estimating its heap-buffer accesses.

Source

Source · https://www.postgresql.org/docs/current/using-explain.htmlcount of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.

Not graded: no reader would act differently on it.

In the article · section “14.1.2. EXPLAIN ANALYZE #”

In the article

excerpt · section “14.1.2. EXPLAIN ANALYZE #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.2. EXPLAIN ANALYZE #

BEGIN;

EXPLAIN ANALYZE UPDATE tenk1 SET hundred = hundred + 1 WHERE unique1 < 100;

                                                           QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------
 Update on tenk1  (cost=5.06..225.23 rows=0 width=0) (actual time=1.634..1.635 rows=0.00 loops=1)
   ->  Bitmap Heap Scan on tenk1  (cost=5.06..225.23 rows=100 width=10) (actual time=0.065..0.141 rows=100.00 loops=1)
         Recheck Cond: (unique1 < 100)
         Heap Blocks: exact=90
         Buffers: shared hit=4 read=2
         ->  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=100 width=0) (actual time=0.031..0.031 rows=100.00 loops=1)
               Index Cond: (unique1 < 100)
               Index Searches: 1
               Buffers: shared read=2
 Planning Time: 0.151 ms
 Execution Time: 1.856 ms

ROLLBACK;
All sources and excerpts · 3
Evidencecount of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.
Evidence hscan->rs_cbuf = read_stream_next_buffer(hscan->rs_read_stream,

Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.

Evidence if (tbmres->lossy) (*lossy_pages)++; else (*exact_pages)++;

Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.

How the review tested this

Review: The excerpts show fetching and counting blocks, but omit shared-buffer instrumentation. They cite PostgreSQL 19 for PostgreSQL 18 output. We checked the fetch and page-counter calls. PostgreSQL 19 calls alone do not establish PostgreSQL 18 buffer-accounting attribution.

F19

Note: “…(345 * 1.0) + (10000 * 0.01) = 445…”

NOTEpartly holds after review

Claim ledger

Article says
…(345 * 1.0) + (10000 * 0.01) = 445…
What is true
The displayed inputs yield 445 planner cost units. E-40 confirms matching page and tuple terms in PostgreSQL 19. It does not directly verify the PostgreSQL 18 implementation or the example table's physical size.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/optimizer/path/costsize.c:299-306disk_run_cost = spc_seq_page_cost * baserel->pages; /* CPU costs */ get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost); startup_cost += qpqual_cost.startup; cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple; cpu_run_cost = cpu_per_tuple * baserel->tuples;

Not graded: no reader would act differently on it.

In the article · section “14.1.1. EXPLAIN Basics #”

In the article

excerpt · section “14.1.1. EXPLAIN Basics #” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

14.1.1. EXPLAIN Basics #

you will find that tenk1 has 345 disk pages and 10000 rows. The estimated cost is computed as (disk pages read * seq_page_cost ) + (rows scanned * cpu_tuple_cost ). By default, seq_page_cost is 1.0 and cpu_tuple_cost is 0.01, so the estimated cost is (345 * 1.0) + (10000 * 0.01) = 445.

EXPLAIN SELECT * FROM tenk1 WHERE unique1 < 7000;

                         QUERY PLAN
------------------------------------------------------------
 Seq Scan on tenk1  (cost=0.00..470.00 rows=7000 width=244)
   Filter: (unique1 < 7000)
All sources and excerpts · 1
Evidence disk_run_cost = spc_seq_page_cost * baserel->pages; /* CPU costs */ get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost); startup_cost += qpqual_cost.startup; cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple; cpu_run_cost = cpu_per_tuple * baserel->tuples;

Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.

How the review tested this

Review: We recalculated 345 + 100 = 445. The arithmetic holds, but the implementation confirmation uses PostgreSQL 19. We recalculated 345 + 100 = 445 cost units. The finding verifies the stated inputs without claiming independent physical measurements.

F20

Note: “…stop after retrieving only a fifth of those rows…”

NOTEpartly holds after review

Claim ledger

Article says
…stop after retrieving only a fifth of those rows…
What is true
Two of ten estimated rows give a 20% fraction. PostgreSQL 19 pathnode.c preserves startup cost and scales remaining cost. E-42 confirms that release's formula rather than directly verifying PostgreSQL 18.

Source

Source · REL_19_STABLE@16dd909023 · src/backend/optimizer/util/pathnode.c:3889-3891*total_cost = *startup_cost + (input_total_cost - input_startup_cost) * count_rows / input_rows;

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…stop after retrieving only a fifth of those rows…
All sources and excerpts · 1
Evidence *total_cost = *startup_cost + (input_total_cost - input_startup_cost) * count_rows / input_rows;

Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.

How the review tested this

Review: We checked startup-cost preservation and rounding. Those qualifications hold, but E-42 targets PostgreSQL 19. We checked the startup-cost objection. The finding preserves startup cost and scales only remaining cost by two-tenths.

F21

Note: “…hash join would be nearly 50% more expensive…”

NOTEpartly holds after review

Claim ledger

Article says
…hash join would be nearly 50% more expensive…
What is true
The displayed hash-join estimate exceeds the merge-join estimate by 47.4% (derived: 344.08 / 233.49 − 1). PostgreSQL 17 documentation repeats both inputs. This verifies the numerical comparison, not PostgreSQL 18 planner behavior.

Source

Source · https://www.postgresql.org/docs/17/using-explain.htmlHash Join (cost=226.23..344.08 rows=10 width=488)

Not graded: no reader would act differently on it.

In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…hash join would be nearly 50% more expensive…
All sources and excerpts · 2
Evidence Hash Join (cost=226.23..344.08 rows=10 width=488)
Evidence Merge Join (cost=0.56..233.49 rows=10 width=488)
How the review tested this

Review: We recalculated the ratio and checked the article's figures. The 47.4% comparison holds, but the corroborating citations target PostgreSQL 17. We checked both numerical inputs against the article. The increase is 47.4%, and the claim concerns estimated cost rather than runtime.

More in this report

Section checks · 12 sections

Section checks

AspectGradeFindingsCoverage
Page informationA3 verified-accurate100% of claims (3 of 3)
IntroductionAnone100% of claims (4 of 4, plus 3 that need data we do not have)
EXPLAIN basicsAnone77% of claims (14 of 18, plus 12 that need data we do not have)
SortingAnone100% of claims (2 of 2, plus 7 that need data we do not have)
Combining indexes and LIMITAnone50% of claims (2 of 4, plus 4 that need data we do not have)provisional
Planner switchesAnone71% of claims (5 of 7, plus 2 that need data we do not have)
EXPLAIN ANALYZEA2 verified-accurate100% of claims (9 of 9, plus 2 that need data we do not have)
Filters and index rechecksAnone66% of claims (2 of 3, plus 6 that need data we do not have)
Buffer statisticsA1 verified-accurate66% of claims (2 of 3, plus 1 that need data we do not have)
Data-modifying statementsAnone20% of claims (1 of 5, plus 3 that need data we do not have)provisional
SerializationAnone66% of claims (2 of 3)
Early terminationAnone100% of claims (3 of 3, plus 1 that need data we do not have)
Coverage and assessment · Checked 78 of 109 Postgres claims across 26 sections; 3 sections below half

A — the findings address the article's main subject. What we did not check is listed below. The findings directly check EXPLAIN cost estimates, execution behavior, loop averages, LIMIT, serialization, and buffer accounting.

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 displayed plans, row counts, or execution times.
  • We did not check every regression-test table and index definition.
  • We did not finish checking every scan-selection explanation, index-search mechanism, modification-node cost, or instrumentation detail.
  • We did not verify the remaining planner and executor claims against PostgreSQL source.
  • We did not reproduce the EXPLAIN examples or timing measurements.
  • We did not reach the community page, account page, or development-version EXPLAIN page.
  • We did not independently verify the original example database's physical size or row distribution.
  • We did not reproduce the execution times or memory measurements the article displays.
  • Section “Combining indexes and LIMIT”: we checked 2 of 8 checkable claims.
  • Section “Data-modifying statements”: we checked 1 of 8 checkable claims.
  • Section “Filtering and indexes”: we checked 4 of 17 checkable claims.
  • Section “Hash and merge joins”: we checked 1 of 9 checkable claims.
  • Section “Index search statistics”: we checked 1 of 6 checkable claims.
  • Section “Skip scan”: we checked 0 of 5 checkable claims.
  • Section “Scale and plan choice”: we checked 1 of 4 checkable claims.
  • Section “Merge-join instrumentation”: we checked 1 of 5 checkable claims.
Checked 78 of 109 Postgres claims across 26 sections; 3 sections below half
  • Page information: 3 of 3 Postgres claims checked; not counted: 6 not a claim
  • Introduction: 4 of 4 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 product or opinion, 1 not a claim
  • EXPLAIN basics: 14 of 18 Postgres claims checked, plus 12 that need data we do not have; not counted: 2 duplicate, 1 not a claim; not checked: 4 for other reasons
  • Filtering and indexes: 4 of 8 Postgres claims checked, plus 9 that need data we do not have; not counted: 1 duplicate; not checked: 4 for other reasons
  • Sorting: 2 of 2 Postgres claims checked, plus 7 that need data we do not have
  • Combining indexes and LIMIT: 2 of 4 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate; not checked: 2 for other reasons
  • Nested-loop joins: 6 of 10 Postgres claims checked, plus 4 that need data we do not have; not checked: 4 for other reasons
  • Join filters: 2 of 2 Postgres claims checked, plus 2 that need data we do not have
  • Hash and merge joins: 1 of 4 Postgres claims checked, plus 5 that need data we do not have; not checked: 3 for other reasons
  • Planner switches: 5 of 7 Postgres claims checked, plus 2 that need data we do not have; not checked: 2 for other reasons
  • Subplans and initplans: 6 of 7 Postgres claims checked, plus 7 that need data we do not have; not checked: 1 for other reasons
  • EXPLAIN ANALYZE: 9 of 9 Postgres claims checked, plus 2 that need data we do not have; not counted: 2 duplicate
  • Sort and hash statistics: 1 of 1 Postgres claims checked, plus 4 that need data we do not have
  • Index search statistics: 1 of 2 Postgres claims checked, plus 4 that need data we do not have; not checked: 1 for other reasons
  • Skip scan: 0 of 1 Postgres claims checked, plus 4 that need data we do not have; not checked: 1 for other reasons
  • Filters and index rechecks: 2 of 3 Postgres claims checked, plus 6 that need data we do not have; not checked: 1 for other reasons
  • Buffer statistics: 2 of 3 Postgres claims checked, plus 1 that need data we do not have; not checked: 1 for other reasons
  • Data-modifying statements: 1 of 5 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate; not checked: 4 for other reasons
  • Partitioned modifications: 5 claims are the author's own account; nothing checkable
  • Timing and triggers: 3 of 3 Postgres claims checked, plus 4 that need data we do not have
  • Serialization: 2 of 3 Postgres claims checked; not counted: 1 duplicate; not checked: 1 for other reasons
  • Caveats: 2 of 2 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 duplicate, 1 not a claim
  • Scale and plan choice: 1 of 2 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 duplicate; not checked: 1 for other reasons
  • Early termination: 3 of 3 Postgres claims checked, plus 1 that need data we do not have; not counted: 2 duplicate
  • Merge-join instrumentation: 1 of 2 Postgres claims checked, plus 3 that need data we do not have; not checked: 1 for other reasons
  • Partition pruning: 1 of 1 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate

Average of 4 axes: 4 · result A

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 A. Factual A · 0 wrong of 6 checked · 0 caveats. Applicable A · 0 wrong of 3 checked · 0 caveats. Consistent A · 0 wrong of 6 checked · 0 caveats. Transparent A · 0 wrong of 3 checked · 0 caveats. Safe not applicable (n/a). A 0 wrong of 6 checked · 0 caveatsFactual A0 wrong of 60 caveats A 0 wrong of 3 checked · 0 caveatsApplicable A0 wrong of 30 caveats A 0 wrong of 6 checked · 0 caveatsConsistent A0 wrong of 60 caveats A 0 wrong of 3 checked · 0 caveatsTransparent A0 wrong of 30 caveats not applicable (n/a), 38 commands scanned none riskySafe n/a38 commands scannednone risky

By topic: Page information — 3 findings, 0 wrong · EXPLAIN ANALYZE — 2 findings, 0 wrong · Buffer statistics — 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 6 claims, 38 commands scanned.

AxisLetterWrongCaveatsCheckedCoverage
FactualA006assessed: A · 0 wrong of 6 checked · 0 caveats
ApplicableA003assessed: A · 0 wrong of 3 checked · 0 caveats
ConsistentA006assessed: A · 0 wrong of 6 checked · 0 caveats
TransparentA003assessed: A · 0 wrong of 3 checked · 0 caveats
Safe—000assessed
Topics · 12 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
Page information0 issues 3 checked F14 F15 F160 issues 1 checked0 issues 3 checked0 issues 3 checked
Introduction
EXPLAIN basics
Sorting
Combining indexes and LIMIT
Planner switches
EXPLAIN ANALYZE0 issues 2 checked F3 F220 issues 1 checked0 issues 2 checked
Filters and index rechecks
Buffer statistics0 issues 1 checked F20 issues 1 checked0 issues 1 checked
Data-modifying statements
Serialization
Early termination

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

Revisions: 2 · B- -> A

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

  1. Revision 1 · 2026-10-14 00:00 UTC · B- · audit version not recorded · regrade version not recorded

    Article as first submitted. 11 accurate · 3 wrong · 1 caveat.

    ElephantSeal: B-.

    Changes: First audit. Open: F1 “GiST tests bounding boxes, not polygon overlap” (false); F2 “Nested-loop buffer reads do not add up” (false); F11 “… Buffers: shared hit=36 read=6…” (false); F12 “… Recheck Cond: (unique1 < 100) Heap Blocks: exact=90…” (mostly accurate).

  2. Revision 2 · this page · 2026-10-19 08:30 UTC · A · audited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)

    Article text changed. 6 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A.

    Changes: No longer reported: “GiST tests bounding boxes, not polygon overlap”; “Nested-loop buffer reads do not add up”; “… Buffers: shared hit=36 read=6…”; “… Recheck Cond: (unique1 < 100) Heap Blocks: exact=90…”. New: none.

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: 14.1. Using EXPLAIN

Article title: 14.1. Using EXPLAIN
Article URL: https://www.postgresql.org/docs/18/using-explain.html
Report URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694
Audited revision: 2 of 2, 2026-10-19 08:30:13 UTC
Overall letter: A

## Axes

- Factual: A · 0 wrong · 6 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 3 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 6 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 3 checked · 0 caveats · assessed
- Safe: — · 0 wrong · 0 checked · 0 caveats · assessed

ElephantSeal: A.

## Report metadata

- Report: Technical fact-check, edition 3
- Issued: 2026-10-19
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. The article changed 1 time after our first audit; we re-audited each version. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
- pgTrue version: audited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)

## Findings needing a change (0)

None.

## Verified accurate claims (6)

### F2 · Accurate · Factual · ANALYZE enables BUFFERS unless explicitly overridden
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=The%20ANALYZE%20option%20implicitly%20enables%20the%20BUFFERS%20option.)
Article says:
```text
The ANALYZE option implicitly enables the BUFFERS option.
```
What is true:
PostgreSQL 18 enables buffer statistics when ANALYZE is enabled. src/backend/commands/explain_state.c:179-180 preserves an explicit BUFFERS setting. The article's BUFFERS OFF example correctly overrides that default.
Charitable reading:
The claim targets PostgreSQL 18. Earlier supported-version navigation links do not promise identical behavior in those releases.
Review: We tested the explicit-override interpretation. REL_18_6 preserves BUFFERS OFF and otherwise copies the ANALYZE setting. We tested the explicit-override reading. PostgreSQL 18 assigns the ANALYZE default only when BUFFERS lacks an explicit setting.

Sources:
- [REL_18_6 · src/backend/commands/explain_state.c:179-180](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/explain_state.c#L179-L180)
  Qualification: Version note: PostgreSQL 18 matches the article's documentation version.
  Excerpt:
  ```text
  /* if the buffers was not set explicitly, set default value */
	es->buffers = (buffers_set) ? es->buffers : es->analyze;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F2

### F3 · Accurate · Factual · Node actual times and rows are per-loop averages
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=the%20actual%20time%20and%20rows%20values%20shown%20are%20averages%20per%2Dexecution)
Article says:
```text
…the actual time and rows values shown are averages per-execution…
```
What is true:
EXPLAIN divides accumulated node times and emitted rows by the loop count. src/backend/commands/explain.c:1832-1835 also converts elapsed seconds to milliseconds. Multiplying the displayed average by loops recovers the accumulated value, subject to display rounding.
Charitable reading:
The statement concerns node actual time and rows. It does not claim that buffer or index-search counters use averages.
Review: We checked whether the statement incorrectly includes buffer counters. It concerns time and rows, which REL_18_6 divides by nloops. We checked whether the statement includes other counters. Its scope remains actual times and rows, which PostgreSQL 18 divides by nloops.

Sources:
- [REL_18_6 · src/backend/commands/explain.c:1832-1835](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/explain.c#L1832-L1835)
  Qualification: Version note: PostgreSQL 18 matches the article's documentation version.
  Excerpt:
  ```text
  double		nloops = planstate->instrument->nloops;
		double		startup_ms = 1000.0 * planstate->instrument->startup / nloops;
		double		total_ms = 1000.0 * planstate->instrument->total / nloops;
		double		rows = planstate->instrument->ntuples / nloops;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F3

### F14 · Accurate · Factual · PostgreSQL 18 remains the current production release
Location: excerpt · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=Supported%20Versions%3A%20Current%20%28%2018%20%29)
Article says:
```text
…Supported Versions: Current ( 18 )…
```
What is true:
The documentation index identifies PostgreSQL 18 as current on October 19, 2026.
Charitable reading:
Current means the current production release, rather than the newest release candidate.
Review: We checked whether PostgreSQL 19 RC 1 invalidates the current-release label. The dated documentation still identifies PostgreSQL 18 as current. We checked whether PostgreSQL 19 RC 1 changes the production-release label. E-30 still identifies PostgreSQL 18 as current.

Sources:
- [https://www.postgresql.org/docs/18/index.html](https://www.postgresql.org/docs/18/index.html)
  Excerpt:
  ```text
  Supported Versions: Current ( 18 )
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F14

### F15 · Accurate · Factual · PostgreSQL 19 remains a development release
Location: excerpt · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=Development%20Versions%3A%2019%20%2F%20devel)
Article says:
```text
…Development Versions: 19 / devel…
```
What is true:
The October 15, 2026 announcement identifies PostgreSQL 19 as its first release candidate.
Charitable reading:
A release candidate remains a development release until general availability.
Review: We checked the full E-29 page because its selected quotation concerns disabled nodes. Its header identifies October 15 and RC 1. We read the complete E-29 page beyond its selected quotation. Its header identifies PostgreSQL 19 RC 1 on October 15.

Sources:
- [https://www.postgresql.org/docs/19/using-explain.html](https://www.postgresql.org/docs/19/using-explain.html)
  Excerpt:
  ```text
  When the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F15

### F16 · Accurate · Factual · PostgreSQL 13 and earlier remain unsupported
Location: excerpt · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=Unsupported%20versions%3A%2013%20%2F%2012,11%20%2F%2010%20%2F%209.6)
Article says:
```text
…Unsupported versions: 13 / 12 / 11 / 10 / 9.6…
```
What is true:
The documentation index lists PostgreSQL 13 and the displayed earlier releases as unsupported.
Charitable reading:
Unsupported refers to upstream support status.
Review: We checked whether unsupported means unavailable. The finding restricts the claim to upstream support, matching the documentation index. We tested upstream support against possible vendor support. The claim concerns upstream status, which E-31 corroborates.

Sources:
- [https://www.postgresql.org/docs/18/index.html](https://www.postgresql.org/docs/18/index.html)
  Excerpt:
  ```text
  Unsupported versions: 13 / 12 / 11 / 10 / 9.6
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F16

### F22 · Accurate · Factual · Verified accurate: “…a total of 0.030 milliseconds…”
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=a%20total%20of%200.030%20milliseconds)
Article says:
```text
…a total of 0.030 milliseconds…
```
What is true:
The rounded displayed values imply approximately 0.030 milliseconds (derived: 0.003 milliseconds per loop × 10 loops). E-47 verifies time averaging in PostgreSQL 19. It does not independently verify PostgreSQL 18.
Review: We checked multiplication and displayed rounding. The arithmetic stands. E-47 establishes averaging in PostgreSQL 19 rather than PostgreSQL 18.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/commands/explain.c:1847-1847](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/commands/explain.c#L1847-L1847)
  Qualification: Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.
  Excerpt:
  ```text
  double		total_ms = INSTR_TIME_GET_MILLISEC(instr->instr.total) / nloops;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F22

## Notes (not graded) (16)

### F1 · Note ·  · Note: “…any side-effects will happen as usual…”
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=any%20side%2Deffects%20will%20happen%20as%20usual)
Article says:
```text
…any side-effects will happen as usual…
```
What is true:
PostgreSQL 19 explain.c calls ExecutorRun and ExecutorFinish when ANALYZE requests execution. E-2 supports that mechanism. Its PostgreSQL 19 citation does not directly verify the article's PostgreSQL 18 implementation.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the ANALYZE condition and execution calls. E-2 confirms PostgreSQL 19 behavior, while the article describes PostgreSQL 18. We checked the ANALYZE guard and ExecutorRun call. The ordinary UPDATE context supports the side-effect warning. PostgreSQL 18 agrees.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/commands/explain.c:575-590](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/commands/explain.c#L575-L590)
  Excerpt:
  ```text
  /* run the plan */
		ExecutorRun(queryDesc, dir, 0);

		/* run cleanup too */
		ExecutorFinish(queryDesc);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F1

### F4 · Note ·  · Note: “…the Limit node stopped requesting rows after it got two…”
Location: excerpt · section “14.1.3. Caveats \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=the%20Limit%20node%20stopped%20requesting%20rows%20after%20it%20got%20two)
Article says:
```text
…the Limit node stopped requesting rows after it got two…
```
What is true:
PostgreSQL 19 nodeLimit.c stops ordinary LIMIT execution at the requested count. E-8 confirms that mechanism. The recorded source citation targets PostgreSQL 19 rather than the article's PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We checked WITH TIES as a counterexample. Ordinary LIMIT supports the explanation, but E-8 cites PostgreSQL 19. We checked the WITH TIES exception. The example uses ordinary LIMIT 2, and the count boundary returns NULL.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/executor/nodeLimit.c:153-160](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/executor/nodeLimit.c#L153-L160)
  Excerpt:
  ```text
  if (!node->noCount &&
					node->position - node->offset >= node->count)
				{
					if (node->limitOption == LIMIT_OPTION_COUNT)
					{
						node->lstate = LIMIT_WINDOWEND;
						return NULL;
					}
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F4

### F5 · Note ·  · Note: “…(disk pages read \* seq_page_cost ) + (rows scanned \* cpu_tuple_cost )…”
Location: excerpt · section “14.1.1. EXPLAIN Basics \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=%28disk%20pages%20read%20%2A%20seq_page_cost,%28rows%20scanned%20%2A%20cpu_tuple_cost%20%29)
Article says:
```text
…(disk pages read * seq_page_cost ) + (rows scanned * cpu_tuple_cost )…
```
What is true:
The example's formula matches PostgreSQL 19 costsize.c page and tuple terms under its stated assumptions. E-10 does not directly establish the PostgreSQL 18 implementation.
Explanation: Not graded: no reader would act differently on it.
Review: We checked omitted qualification costs. The unfiltered example avoids that objection, but its source confirmation uses PostgreSQL 19. We checked omitted qualification, projection, and parallel costs. The finding restricts the formula to the unfiltered serial example.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/optimizer/path/costsize.c:299-338](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/optimizer/path/costsize.c#L299-L338)
  Excerpt:
  ```text
  disk_run_cost = spc_seq_page_cost * baserel->pages;

	/* CPU costs */
	get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost);

	startup_cost += qpqual_cost.startup;
	cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple;
	cpu_run_cost = cpu_per_tuple * baserel->tuples;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F5

### F6 · Note ·  · Note: “…allows returning tuples before the entire result set has been sorted…”
Location: excerpt · section “14.1.1. EXPLAIN Basics \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=allows%20returning%20tuples%20before%20the,result%20set%20has%20been%20sorted)
Article says:
```text
…allows returning tuples before the entire result set has been sorted…
```
What is true:
PostgreSQL 19 nodeIncrementalSort.c documents possible output before the entire result becomes available. E-12 supports a possibility, not a guarantee. Its citation does not target PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We considered a single large prefix group. The article claims a possibility, which E-12 supports for PostgreSQL 19. We tested whether one large group defeats the claim. The finding says incremental sort can emit early, without guaranteeing it.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/executor/nodeIncrementalSort.c:67-69](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/executor/nodeIncrementalSort.c#L67-L69)
  Excerpt:
  ```text
  *	Sorting incrementally can potentially use less memory, avoid fetching
 *	and sorting all tuples in the dataset, and begin returning tuples before
 *	the entire result set is available.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F6

### F7 · Note ·  · GiST polygon candidates come from bounding-box tests
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=returns%20the%20rows%20with%20polygons%20that%20overlap%20the%20target)
Article says:
```text
…returns the rows with polygons that overlap the target…
```
What is true:
GiST polygon indexes test bounding boxes and request exact rechecks. src/backend/access/gist/gistproc.c:1072-1084 passes query-\>boundbox to the consistency function. PostgreSQL 18's doc/src/sgml/perform.sgml:959-961 uses the article's polygon-overlap wording. We found no demonstrated recipe error.
Charitable reading:
The example searches for a point represented as a polygon. Bounding-box candidates still require exact polygon containment checks.
Explanation: Not graded: knowing this would not change what a reader does.
Review: We checked the point-as-polygon interpretation. The implementation tests bounding boxes and requests rechecks. The note appropriately acknowledges official wording. We checked the degenerate-polygon example and official wording. Bounding-box tests and exact rechecks support the existing ungraded distinction.

Sources:
- [REL_18_6 · src/backend/access/gist/gistproc.c:1072-1084](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/gist/gistproc.c#L1072-L1084)
  Qualification: Version note: PostgreSQL 18 matches the article's documentation version.
  Excerpt:
  ```text
  /*
	 * Since the operators require recheck anyway, we can just use
	 * rtree_internal_consistent even at leaf nodes.  (This works in part
	 * because the index entries are bounding boxes not polygons.)
	 */
	result = rtree_internal_consistent(DatumGetBoxP(entry->key),
									   &(query->boundbox), strategy);
  ```
- [REL_18_6 · doc/src/sgml/perform.sgml:959-961](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/perform.sgml#L959-L961)
  Qualification: Version note: The version-matched official documentation contains the same wording.
  Excerpt:
  ```text
  GiST index is <quote>lossy</quote> for polygon containment tests: it actually
    returns the rows with polygons that overlap the target, and then we have
    to do the exact containment test on those rows.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F7

### F8 · Note ·  · Note: “…ANALYZE 's statistics are random samples rather than exact…”
Location: excerpt · section “14.1. Using EXPLAIN \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=ANALYZE%20%27s%20statistics%20are%20random%20samples%20rather%20than%20exact)
Article says:
```text
…ANALYZE 's statistics are random samples rather than exact…
```
What is true:
PostgreSQL 19 analyze.c documents block sampling followed by row sampling. Small relations can fit entirely within the targets. E-17 confirms PostgreSQL 19 rather than directly verifying PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We considered tables smaller than the sampling target. E-17 acknowledges that exception but cites PostgreSQL 19. We checked the small-table exception. The source allows sampling all blocks, while the finding only says estimates can change.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/commands/analyze.c:1268-1275](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/commands/analyze.c#L1268-L1275)
  Excerpt:
  ```text
  * As of May 2004 we use a new two-stage method:  Stage one selects up
 * to targrows random blocks (or all blocks, if there aren't so many).
 * Stage two scans these blocks and uses the Vitter algorithm to create
 * a random sample of targrows rows (or less, if there are less in the
 * sample of blocks).
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F8

### F9 · Note ·  · Note: “…EXPLAIN actually executes the query…”
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=EXPLAIN%20actually%20executes%20the%20query)
Article says:
```text
…EXPLAIN actually executes the query…
```
What is true:
PostgreSQL 16 documentation states that EXPLAIN ANALYZE executes the query and reports actual statistics. E-26 establishes that release's behavior, not a version-matched PostgreSQL 18 confirmation.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the preceding ANALYZE qualification. The claim respects it, but E-26 documents PostgreSQL 16. We restored the omitted ANALYZE context around the quotation. PostgreSQL 16 and the current documentation describe the same execution behavior.

Sources:
- [https://www.postgresql.org/docs/16/using-explain.html](https://www.postgresql.org/docs/16/using-explain.html)
  Excerpt:
  ```text
  With this option, EXPLAIN actually executes the query, and then displays the true row counts and true run time accumulated within each plan node,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F9

### F10 · Note ·  · Note: “…network transmission costs are not included…”
Location: excerpt · section “14.1.3. Caveats \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=network%20transmission%20costs%20are%20not%20included)
Article says:
```text
…network transmission costs are not included…
```
What is true:
PostgreSQL 15 documentation excludes result-transmission costs from EXPLAIN ANALYZE timings. E-27 supports that release's rule. It does not directly verify PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We distinguished result transmission from query-triggered network activity. The distinction holds, but E-27 targets PostgreSQL 15. We checked whether SERIALIZE changes result transmission. It changes conversion accounting, while EXPLAIN still discards query result rows.

Sources:
- [https://www.postgresql.org/docs/15/using-explain.html](https://www.postgresql.org/docs/15/using-explain.html)
  Excerpt:
  ```text
  network transmission costs and I/O conversion costs are not included.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F10

### F11 · Note ·  · Note: “…by specifying the SERIALIZE option…”
Location: Article · exact quote · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=by%20specifying%20the%20SERIALIZE%20option)
Article says:
```text
…by specifying the SERIALIZE option…
```
What is true:
PostgreSQL 17 documentation describes SERIALIZE as measuring output conversion. E-28 establishes the option in PostgreSQL 17. Its citation does not directly verify PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We checked whether SERIALIZE promises network timing. It only measures conversion. E-28 documents PostgreSQL 17. We checked the option's scope across versions. PostgreSQL 17 and the current documentation both describe output conversion measurement.

Sources:
- [https://www.postgresql.org/docs/17/using-explain.html](https://www.postgresql.org/docs/17/using-explain.html)
  Excerpt:
  ```text
  it can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F11

### F12 · Note ·  · Note: “…it's also included in the total Execution time…”
Location: Article · exact quote · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=it%27s%20also%20included%20in%20the%20total%20Execution%20time)
Article says:
```text
…it's also included in the total Execution time…
```
What is true:
PostgreSQL 17 documentation includes requested serialization in total Execution Time and reports it separately. E-28 supports PostgreSQL 17 accounting rather than directly verifying PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We checked the condition that SERIALIZE requests conversion. E-28 supports the accounting rule for PostgreSQL 17. We checked whether separate serialization reporting excludes it from Execution Time. E-28 explicitly includes it in both presentations.

Sources:
- [https://www.postgresql.org/docs/17/using-explain.html](https://www.postgresql.org/docs/17/using-explain.html)
  Excerpt:
  ```text
  it can be told to convert the query's output data to displayable form and measure the time needed for that, by specifying the SERIALIZE option. That time will be shown separately, and it's also included in the total Execution time .
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F12

### F13 · Note ·  · Note: “…the EXPLAIN output will indicate this fact.”
Location: Article · exact quote · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=the%20EXPLAIN%20output%20will%20indicate%20this%20fact.)
Article says:
```text
…the EXPLAIN output will indicate this fact.
```
What is true:
PostgreSQL 19 documentation retains the disabled-node annotation statement. E-29 confirms its presence in PostgreSQL 19. That citation alone does not establish PostgreSQL 18 output behavior.
Explanation: Not graded: no reader would act differently on it.
Review: We checked whether later documentation independently verifies PostgreSQL 18 output. E-29 establishes retention in PostgreSQL 19 only. We checked the disabled-node context and version scope. The finding narrowly verifies retained documentation, which E-29 supports.

Sources:
- [https://www.postgresql.org/docs/19/using-explain.html](https://www.postgresql.org/docs/19/using-explain.html)
  Excerpt:
  ```text
  When the resulting plan contains a disabled node, the EXPLAIN output will indicate this fact.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F13

### F17 · Note ·  · Note: “…Buffers: shared hit=36 read=6…”
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=Buffers%3A%20shared%20hit%3D36%20read%3D6)
Article says:
```text
…Buffers: shared hit=36 read=6…
```
What is true:
The example's children report 11 shared-buffer reads, while the parent reports six. E-35 says parent totals include child accesses. The current official documentation repeats these inconsistent figures. Treat this as an example-output defect, not evidence against the stated accounting rule.
So what:
Use fresh EXPLAIN (ANALYZE, BUFFERS) output when checking parent and child buffer totals.
Explanation: Not graded: no reader would act differently on it.
Review: The 11-versus-six contradiction survives. These are official documentation example figures, without a demonstrated operational error or defective reader command. We tested distinct-page accounting and per-loop averaging. Neither explains six parent reads against 11 child reads. The action and wasted-work consequence fit.

Sources:
- [https://www.postgresql.org/docs/current/using-explain.html](https://www.postgresql.org/docs/current/using-explain.html)
  Excerpt:
  ```text
  count of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F17

### F18 · Note ·  · Note: “…Heap Blocks: exact=90 Buffers: shared hit=4 read=2…”
Location: excerpt · section “14.1.2. EXPLAIN ANALYZE \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=Heap%20Blocks%3A%20exact%3D90%20Buffers%3A%20shared%20hit%3D4%20read%3D2)
Article says:
```text
…Heap Blocks: exact=90
         Buffers: shared hit=4 read=2…
```
What is true:
The UPDATE example displays 90 exact heap blocks and six shared-buffer accesses. The current official documentation repeats those figures. E-37 and E-38 show block fetching and counting in PostgreSQL 19. Those excerpts alone do not establish the complete PostgreSQL 18 buffer-accounting path.
So what:
Collect EXPLAIN (ANALYZE, BUFFERS) for the UPDATE before estimating its heap-buffer accesses.
Explanation: Not graded: no reader would act differently on it.
Review: The excerpts show fetching and counting blocks, but omit shared-buffer instrumentation. They cite PostgreSQL 19 for PostgreSQL 18 output. We checked the fetch and page-counter calls. PostgreSQL 19 calls alone do not establish PostgreSQL 18 buffer-accounting attribution.

Sources:
- [https://www.postgresql.org/docs/current/using-explain.html](https://www.postgresql.org/docs/current/using-explain.html)
  Excerpt:
  ```text
  count of the non-distinct buffers hit, read, dirtied, and written for the given node and all of its child nodes.
  ```
- [REL_19_STABLE@16dd909023 · src/backend/access/heap/heapam_handler.c:2528-2528](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/heap/heapam_handler.c#L2528-L2528)
  Qualification: Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.
  Excerpt:
  ```text
  hscan->rs_cbuf = read_stream_next_buffer(hscan->rs_read_stream,
  ```
- [REL_19_STABLE@16dd909023 · src/backend/access/heap/heapam_handler.c:2637-2640](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/access/heap/heapam_handler.c#L2637-L2640)
  Qualification: Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.
  Excerpt:
  ```text
  if (tbmres->lossy)
		(*lossy_pages)++;
	else
		(*exact_pages)++;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F18

### F19 · Note ·  · Note: “…(345 \* 1.0) + (10000 \* 0.01) = 445…”
Location: excerpt · section “14.1.1. EXPLAIN Basics \#” · as fetched 2026-10-19 · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=%28345%20%2A%201.0%29%20%2B%20%2810000%20%2A%200.01%29%20%3D%20445)
Article says:
```text
…(345 * 1.0) + (10000 * 0.01) = 445…
```
What is true:
The displayed inputs yield 445 planner cost units. E-40 confirms matching page and tuple terms in PostgreSQL 19. It does not directly verify the PostgreSQL 18 implementation or the example table's physical size.
Explanation: Not graded: no reader would act differently on it.
Review: We recalculated 345 + 100 = 445. The arithmetic holds, but the implementation confirmation uses PostgreSQL 19. We recalculated 345 + 100 = 445 cost units. The finding verifies the stated inputs without claiming independent physical measurements.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/optimizer/path/costsize.c:299-306](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/optimizer/path/costsize.c#L299-L306)
  Qualification: Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.
  Excerpt:
  ```text
  disk_run_cost = spc_seq_page_cost * baserel->pages;

	/* CPU costs */
	get_restriction_qual_cost(root, baserel, param_info, &qpqual_cost);

	startup_cost += qpqual_cost.startup;
	cpu_per_tuple = cpu_tuple_cost + qpqual_cost.per_tuple;
	cpu_run_cost = cpu_per_tuple * baserel->tuples;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F19

### F20 · Note ·  · Note: “…stop after retrieving only a fifth of those rows…”
Location: Article · exact quote · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=stop%20after%20retrieving%20only%20a%20fifth%20of%20those%20rows)
Article says:
```text
…stop after retrieving only a fifth of those rows…
```
What is true:
Two of ten estimated rows give a 20% fraction. PostgreSQL 19 pathnode.c preserves startup cost and scales remaining cost. E-42 confirms that release's formula rather than directly verifying PostgreSQL 18.
Explanation: Not graded: no reader would act differently on it.
Review: We checked startup-cost preservation and rounding. Those qualifications hold, but E-42 targets PostgreSQL 19. We checked the startup-cost objection. The finding preserves startup cost and scales only remaining cost by two-tenths.

Sources:
- [REL_19_STABLE@16dd909023 · src/backend/optimizer/util/pathnode.c:3889-3891](https://github.com/postgres/postgres/blob/16dd90902366c0404616dc43b170c94b064d0caf/src/backend/optimizer/util/pathnode.c#L3889-L3891)
  Qualification: Version note: The article identifies PostgreSQL 18. This source range belongs to the pinned PostgreSQL 19 branch.
  Excerpt:
  ```text
  *total_cost = *startup_cost +
				(input_total_cost - input_startup_cost)
				* count_rows / input_rows;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F20

### F21 · Note ·  · Note: “…hash join would be nearly 50% more expensive…”
Location: Article · exact quote · [open in article](https://www.postgresql.org/docs/18/using-explain.html#:~:text=hash%20join%20would%20be%20nearly%2050%25%20more%20expensive)
Article says:
```text
…hash join would be nearly 50% more expensive…
```
What is true:
The displayed hash-join estimate exceeds the merge-join estimate by 47.4% (derived: 344.08 / 233.49 − 1). PostgreSQL 17 documentation repeats both inputs. This verifies the numerical comparison, not PostgreSQL 18 planner behavior.
Explanation: Not graded: no reader would act differently on it.
Review: We recalculated the ratio and checked the article's figures. The 47.4% comparison holds, but the corroborating citations target PostgreSQL 17. We checked both numerical inputs against the article. The increase is 47.4%, and the claim concerns estimated cost rather than runtime.

Sources:
- [https://www.postgresql.org/docs/17/using-explain.html](https://www.postgresql.org/docs/17/using-explain.html)
  Excerpt:
  ```text
  Hash Join  (cost=226.23..344.08 rows=10 width=488)
  ```
- [https://www.postgresql.org/docs/17/using-explain.html](https://www.postgresql.org/docs/17/using-explain.html)
  Excerpt:
  ```text
  Merge Join  (cost=0.56..233.49 rows=10 width=488)
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694#F21

## Withdrawn findings (0)

None.

## Section checks

- Page information · A · 3 verified-accurate · 100% of claims (3 of 3)
- Introduction · A · none · 100% of claims (4 of 4, plus 3 that need data we do not have)
- EXPLAIN basics · A · none · 77% of claims (14 of 18, plus 12 that need data we do not have)
- Sorting · A · none · 100% of claims (2 of 2, plus 7 that need data we do not have)
- Combining indexes and LIMIT · A · none · 50% of claims (2 of 4, plus 4 that need data we do not have) provisional
- Planner switches · A · none · 71% of claims (5 of 7, plus 2 that need data we do not have)
- EXPLAIN ANALYZE · A · 2 verified-accurate · 100% of claims (9 of 9, plus 2 that need data we do not have)
- Filters and index rechecks · A · none · 66% of claims (2 of 3, plus 6 that need data we do not have)
- Buffer statistics · A · 1 verified-accurate · 66% of claims (2 of 3, plus 1 that need data we do not have)
- Data-modifying statements · A · none · 20% of claims (1 of 5, plus 3 that need data we do not have) provisional
- Serialization · A · none · 66% of claims (2 of 3)
- Early termination · A · none · 100% of claims (3 of 3, plus 1 that need data we do not have)

## Claim coverage

- Page information: 3 of 3 Postgres claims checked; not counted: 6 not a claim
- Introduction: 4 of 4 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 product or opinion, 1 not a claim
- EXPLAIN basics: 14 of 18 Postgres claims checked, plus 12 that need data we do not have; not counted: 2 duplicate, 1 not a claim; not checked: 4 for other reasons
- Filtering and indexes: 4 of 8 Postgres claims checked, plus 9 that need data we do not have; not counted: 1 duplicate; not checked: 4 for other reasons
- Sorting: 2 of 2 Postgres claims checked, plus 7 that need data we do not have
- Combining indexes and LIMIT: 2 of 4 Postgres claims checked, plus 4 that need data we do not have; not counted: 1 duplicate; not checked: 2 for other reasons
- Nested-loop joins: 6 of 10 Postgres claims checked, plus 4 that need data we do not have; not checked: 4 for other reasons
- Join filters: 2 of 2 Postgres claims checked, plus 2 that need data we do not have
- Hash and merge joins: 1 of 4 Postgres claims checked, plus 5 that need data we do not have; not checked: 3 for other reasons
- Planner switches: 5 of 7 Postgres claims checked, plus 2 that need data we do not have; not checked: 2 for other reasons
- Subplans and initplans: 6 of 7 Postgres claims checked, plus 7 that need data we do not have; not checked: 1 for other reasons
- EXPLAIN ANALYZE: 9 of 9 Postgres claims checked, plus 2 that need data we do not have; not counted: 2 duplicate
- Sort and hash statistics: 1 of 1 Postgres claims checked, plus 4 that need data we do not have
- Index search statistics: 1 of 2 Postgres claims checked, plus 4 that need data we do not have; not checked: 1 for other reasons
- Skip scan: 0 of 1 Postgres claims checked, plus 4 that need data we do not have; not checked: 1 for other reasons
- Filters and index rechecks: 2 of 3 Postgres claims checked, plus 6 that need data we do not have; not checked: 1 for other reasons
- Buffer statistics: 2 of 3 Postgres claims checked, plus 1 that need data we do not have; not checked: 1 for other reasons
- Data-modifying statements: 1 of 5 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate; not checked: 4 for other reasons
- Partitioned modifications: 5 claims are the author's own account; nothing checkable
- Timing and triggers: 3 of 3 Postgres claims checked, plus 4 that need data we do not have
- Serialization: 2 of 3 Postgres claims checked; not counted: 1 duplicate; not checked: 1 for other reasons
- Caveats: 2 of 2 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 duplicate, 1 not a claim
- Scale and plan choice: 1 of 2 Postgres claims checked, plus 2 that need data we do not have; not counted: 1 duplicate; not checked: 1 for other reasons
- Early termination: 3 of 3 Postgres claims checked, plus 1 that need data we do not have; not counted: 2 duplicate
- Merge-join instrumentation: 1 of 2 Postgres claims checked, plus 3 that need data we do not have; not checked: 1 for other reasons
- Partition pruning: 1 of 1 Postgres claims checked, plus 3 that need data we do not have; not counted: 1 duplicate

## What we did not check

- We did not reproduce the displayed plans, row counts, or execution times.
- We did not check every regression-test table and index definition.
- We did not finish checking every scan-selection explanation, index-search mechanism, modification-node cost, or instrumentation detail.
- We did not verify the remaining planner and executor claims against PostgreSQL source.
- We did not reproduce the EXPLAIN examples or timing measurements.
- We did not reach the community page, account page, or development-version EXPLAIN page.
- We did not independently verify the original example database's physical size or row distribution.
- We did not reproduce the execution times or memory measurements the article displays.
- Section “Combining indexes and LIMIT”: we checked 2 of 8 checkable claims.
- Section “Data-modifying statements”: we checked 1 of 8 checkable claims.
- Section “Filtering and indexes”: we checked 4 of 17 checkable claims.
- Section “Hash and merge joins”: we checked 1 of 9 checkable claims.
- Section “Index search statistics”: we checked 1 of 6 checkable claims.
- Section “Skip scan”: we checked 0 of 5 checkable claims.
- Section “Scale and plan choice”: we checked 1 of 4 checkable claims.
- Section “Merge-join instrumentation”: we checked 1 of 5 checkable claims.

## Notes

- A — the findings address the article's main subject. What we did not check is listed below. The findings directly check EXPLAIN cost estimates, execution behavior, loop averages, LIMIT, serialization, and buffer accounting.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 4 axes: 4 · result A
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_19_STABLE@16dd909023 at commit 16dd90902366c0404616dc43b170c94b064d0caf (pinned target); https://www.postgresql.org/ (fetched 2026-10-19T08:30:25.812291Z); https://www.postgresql.org/about/ (fetched 2026-10-19T08:30:26.836430Z); https://www.postgresql.org/about/donate/ (fetched 2026-10-19T08:30:38.054854Z); https://www.postgresql.org/about/news/postgresql-19-rc-1-released-3409/ (fetched 2026-10-19T08:30:40.361131Z); https://www.postgresql.org/developer/ (fetched 2026-10-19T08:30:36.265466Z); https://www.postgresql.org/docs/ (fetched 2026-10-19T08:30:30.029545Z); https://www.postgresql.org/docs/10/using-explain.html (fetched 2026-10-19T08:30:57.493959Z); https://www.postgresql.org/docs/11/using-explain.html (fetched 2026-10-19T08:30:56.271193Z); https://www.postgresql.org/docs/12/using-explain.html (fetched 2026-10-19T08:30:55.036505Z); https://www.postgresql.org/docs/13/using-explain.html (fetched 2026-10-19T08:30:52.435349Z); https://www.postgresql.org/docs/14/using-explain.html (fetched 2026-10-19T08:30:48.289494Z); https://www.postgresql.org/docs/15/using-explain.html (fetched 2026-10-19T08:30:47.247030Z); https://www.postgresql.org/docs/16/using-explain.html (fetched 2026-10-19T08:30:46.005803Z); https://www.postgresql.org/docs/17/using-explain.html (fetched 2026-10-19T08:30:44.319968Z); https://www.postgresql.org/docs/18/index.html (fetched 2026-10-19T08:30:41.436141Z); https://www.postgresql.org/docs/19/using-explain.html (fetched 2026-10-19T08:30:49.919664Z); https://www.postgresql.org/docs/8.4/using-explain.html (fetched 2026-10-19T08:31:08.289315Z); https://www.postgresql.org/docs/9.0/using-explain.html (fetched 2026-10-19T08:31:07.169598Z); https://www.postgresql.org/docs/9.1/using-explain.html (fetched 2026-10-19T08:31:05.763866Z); https://www.postgresql.org/docs/9.2/using-explain.html (fetched 2026-10-19T08:31:04.270255Z); https://www.postgresql.org/docs/9.3/using-explain.html (fetched 2026-10-19T08:31:02.658382Z); https://www.postgresql.org/docs/9.4/using-explain.html (fetched 2026-10-19T08:31:01.569872Z); https://www.postgresql.org/docs/9.5/using-explain.html (fetched 2026-10-19T08:31:00.306564Z); https://www.postgresql.org/docs/9.6/using-explain.html (fetched 2026-10-19T08:30:59.121640Z); https://www.postgresql.org/docs/current/using-explain.html (fetched 2026-10-19T08:30:42.650964Z); https://www.postgresql.org/download/ (fetched 2026-10-19T08:30:28.437066Z); https://www.postgresql.org/support/ (fetched 2026-10-19T08:30:37.368662Z).
- Article captured 2026-10-19T08:30:13.947898Z · SHA-256 19bb6203db50f21e9bb7690d9ca6b9aeac681896821bb7642ba00ce27d40bae8 · Text extracted from the article's HTML.
- Policy SHA-256 7067be230777168e2771cfd69fca8ba08e4f1d49d904623e4e300dd76c058f92 · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- The documentation page gives no publication date. Its October 15, 2026 date belongs to the PostgreSQL 19 release announcement.
- We did not reproduce the displayed plans, execution times, row counts, or memory measurements.
- We did not independently verify the example database's physical size, row distribution, or every table and index definition.
- We did not check every scan-selection explanation, index-search mechanism, modification-node cost, or instrumentation detail.
- We did not reach the community page, account page, or development-version EXPLAIN page.
- The article describes PostgreSQL 18. Some code checks use PostgreSQL 19, while others use matching PostgreSQL 18 source.
- article target version: bound to the most-cited major; also named 18 (1×)
- review: the findings were written by one model and reviewed independently by a different model.
- 2026-10-27: Regraded under the current grading rules: the letter is the average of the axis letters, with every cap stated under it.
- 3 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, one pinned source tree, and 27 fetched pages.
- 6 survived · 16 weakened · 0 withdrawn.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694?v=3) · 2026-10-14 00:00 UTC · B- · audit version not recorded · regrade version not recorded
  Article as first submitted. 11 accurate · 3 wrong · 1 caveat.
  ElephantSeal: B-.
  Changes: First audit. Open: F1 “GiST tests bounding boxes, not polygon overlap” (false); F2 “Nested-loop buffer reads do not add up” (false); F11 “… Buffers: shared hit=36 read=6…” (false); F12 “… Recheck Cond: (unique1 \< 100) Heap Blocks: exact=90…” (mostly accurate).
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/80214038-eee7-4860-b5ee-4e4ca5153694?v=7) · this page · 2026-10-19 08:30 UTC · A · audited with v1.0.14 (approx.) · regraded with v1.1.0 (approx.)
  Article text changed. 6 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: No longer reported: “GiST tests bounding boxes, not polygon overlap”; “Nested-loop buffer reads do not add up”; “… Buffers: shared hit=36 read=6…”; “… Recheck Cond: (unique1 \< 100) Heap Blocks: exact=90…”. New: none.

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