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: How a read replica almost took down its primary database and other database tales
Article title: How a read replica almost took down its primary database and other database tales
Article URL: https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database
Report URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7
Audited revision: 1 of 1, 2026-10-31 02:31:04 UTC
Overall letter: A
## Axes
- Factual: A · 0 wrong · 22 checked · 0 caveats · assessed
- Applicable: A · 0 wrong · 22 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 22 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 10 checked · 0 caveats · assessed
- Safe: A · 0 wrong · 22 checked · 0 caveats · assessed
ElephantSeal: A.
## Report metadata
- Report: Technical fact-check, edition 2
- pgTrue version: audited with v1.1.3
- Issued: 2026-10-31
- Edition: Updated after review. Corrections are listed below.
- Submitted: Submitted by the PostgresAI team.
- Author response: No written reply from the author. See Revisions below. Policy: [right-of-reply and corrections policy](/pgtrue/security).
## Findings needing a change (0)
None.
## Verified accurate claims (22)
### F1 · Accurate · Factual · Verified accurate: “…limit on the WAL retained by replication slots using max_slot_wal_keep_size…”
Location: excerpt · section “1. Batch and throttle backfills” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=limit%20on%20the%20WAL%20retained%20by%20replication%20slots%20using%20max_slot_wal_keep_size)
Article says:
```text
…limit on the WAL retained by replication slots using max_slot_wal_keep_size…
```
What is true:
max_slot_wal_keep_size limits slot-based WAL retention at checkpoints. KeepLogSeg caps the retention horizon. Checkpoint cleanup can invalidate slots whose WAL becomes unavailable. The setting does not impose a hard ceiling on total pg_wal disk use.
Review: We tested whether the finding confuses slot retention with total WAL usage. It explicitly distinguishes them and preserves checkpoint timing. We tested whether the finding promises a total pg_wal ceiling. It explicitly rejects that interpretation. Checkpoint retention and invalidation match.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:4717-4720](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L4717-L4720)
Excerpt:
```text
Specify the maximum size of WAL files
that <link linkend="streaming-replication-slots">replication
slots</link> are allowed to retain in the <filename>pg_wal</filename>
directory at checkpoint time.
```
- [REL_18_6 · src/backend/access/transam/xlog.c:8019-8027](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/transam/xlog.c#L8019-L8027)
Excerpt:
```text
if (max_slot_wal_keep_size_mb >= 0 && !IsBinaryUpgrade)
{
uint64 slot_keep_segs;
slot_keep_segs =
ConvertToXSegs(max_slot_wal_keep_size_mb, wal_segment_size);
if (currSegNo - segno > slot_keep_segs)
segno = currSegNo - slot_keep_segs;
```
- [REL_18_6 · src/backend/access/transam/xlog.c:7359-7363](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/access/transam/xlog.c#L7359-L7363)
Excerpt:
```text
XLByteToSeg(RedoRecPtr, _logSegNo, wal_segment_size);
KeepLogSeg(recptr, &_logSegNo);
if (InvalidateObsoleteReplicationSlots(RS_INVAL_WAL_REMOVED | RS_INVAL_IDLE_TIMEOUT,
_logSegNo, InvalidOid,
InvalidTransactionId))
```
- [REL_18_6 · doc/src/sgml/high-availability.sgml:953-957](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/high-availability.sgml#L953-L957)
Excerpt:
```text
Beware that replication slots can cause the server to retain so
many WAL segments that they fill up the space allocated for
<literal>pg_wal</literal>.
<xref linkend="guc-max-slot-wal-keep-size"/> can be used to limit the size
of WAL files retained by replication slots.
```
- [REL_18_6 · doc/src/sgml/config.sgml:4724-4725](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L4724-L4725)
Excerpt:
```text
than the given size, the standby using the slot may no longer be able
to continue replication due to removal of required WAL files. You
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F1
### F2 · Accurate · Factual · Verified accurate: “…lock_timeout bounds waiting…”
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=lock_timeout%20bounds%20waiting)
Article says:
```text
…lock_timeout bounds waiting…
```
What is true:
REL_18_6 documents that lock_timeout can occur only while waiting for locks (E-20). It does not bound acquired-lock duration. E-21 shows code disabling LOCK_TIMEOUT.
Review: We tested whether E-21 establishes ProcSleep's control flow. It shows timer disabling, but omits the enclosing function and wait completion. E-20 supports the article's timeout distinction.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:10308-10309](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L10308-L10309)
Excerpt:
```text
Unlike <varname>statement_timeout</varname>, this timeout can only occur
while waiting for locks.
```
- [REL_18_6 · src/backend/storage/lmgr/proc.c:1699-1707](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/proc.c#L1699-L1707)
Excerpt:
```text
if (LockTimeout > 0)
{
DisableTimeoutParams timeouts[2];
timeouts[0].id = DEADLOCK_TIMEOUT;
timeouts[0].keep_indicator = false;
timeouts[1].id = LOCK_TIMEOUT;
timeouts[1].keep_indicator = true;
disable_timeouts(timeouts, 2);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F2
### F3 · Accurate · Factual · Verified accurate: “Adding a foreign key takes a SHARE ROW EXCLUSIVE lock on both tables…”
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=Adding%20a%20foreign%20key%20takes,EXCLUSIVE%20lock%20on%20both%20tables)
Article says:
```text
Adding a foreign key takes a SHARE ROW EXCLUSIVE lock on both tables…
```
What is true:
ALTER TABLE ADD FOREIGN KEY requests ShareRowExclusiveLock on the referencing table. It opens the referenced table with the same mode. RowExclusiveLock conflicts with that mode.
Review: We tested the surrounding migration's potentially stronger locks. The finding confines its claim to ADD FOREIGN KEY and correctly identifies both locks. We distinguished ADD FOREIGN KEY locks from stronger locks held by surrounding DDL. Both table locks and writer conflicts match.
Sources:
- [REL_18_6 · src/backend/commands/tablecmds.c:4753-4761](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/tablecmds.c#L4753-L4761)
Excerpt:
```text
case CONSTR_FOREIGN:
/*
* We add triggers to both tables when we add a
* Foreign Key, so the lock level must be at least
* as strong as CREATE TRIGGER.
*/
cmd_lockmode = ShareRowExclusiveLock;
break;
```
- [REL_18_6 · src/backend/commands/tablecmds.c:10111-10111](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/tablecmds.c#L10111-L10111)
Excerpt:
```text
pkrel = table_openrv(fkconstraint->pktable, ShareRowExclusiveLock);
```
- [REL_18_6 · src/backend/storage/lmgr/lock.c:74-76](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L74-L76)
Excerpt:
```text
/* RowExclusiveLock */
LOCKBIT_ON(ShareLock) | LOCKBIT_ON(ShareRowExclusiveLock) |
LOCKBIT_ON(ExclusiveLock) | LOCKBIT_ON(AccessExclusiveLock),
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F3
### F4 · Accurate · Factual · Verified accurate: “…writes then queued behind the migration’s lock request…”
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=writes%20then%20queued%20behind%20the%20migration%E2%80%99s%20lock%20request)
Article says:
```text
…writes then queued behind the migration’s lock request…
```
What is true:
REL_18_6 checks pending incompatible lock requests before checking held locks (E-25). RowExclusiveLock conflicts with ShareRowExclusiveLock (E-24). A pending incompatible request can delay writes. These excerpts do not verify the incident's lock history.
Review: We tested the foreign-key and compatible-read assertions. E-24 and E-25 establish write-lock conflicts and pending-request checks. They omit foreign-key lock acquisition and the read-lock conflict entry.
Sources:
- [REL_18_6 · src/backend/storage/lmgr/lock.c:74-76](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L74-L76)
Excerpt:
```text
/* RowExclusiveLock */
LOCKBIT_ON(ShareLock) | LOCKBIT_ON(ShareRowExclusiveLock) |
LOCKBIT_ON(ExclusiveLock) | LOCKBIT_ON(AccessExclusiveLock),
```
- [REL_18_6 · src/backend/storage/lmgr/lock.c:1093-1096](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L1093-L1096)
Excerpt:
```text
if (lockMethodTable->conflictTab[lockmode] & lock->waitMask)
found_conflict = true;
else
found_conflict = LockCheckConflicts(lockMethodTable, lockmode,
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F4
### F5 · Accurate · Factual · Verified accurate: “…but not when it is preventing transaction-ID wraparound…”
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=but%20not%20when%20it%20is%20preventing%20transaction%2DID%20wraparound)
Article says:
```text
…but not when it is preventing transaction-ID wraparound…
```
What is true:
ProcSleep excludes PROC_VACUUM_FOR_WRAPAROUND workers from automatic cancellation. Ordinary blocking autovacuum can receive cancellation. The article correctly distinguishes the two cases.
Review: We tested automatic cancellation against manual interruption. The finding addresses only automatic cancellation, whose condition excludes wraparound workers. We checked whether resistance means immunity from every cancellation. The finding confines itself to PostgreSQL's automatic blocking-autovacuum cancellation.
Sources:
- [REL_18_6 · src/backend/storage/lmgr/proc.c:1535-1536](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/proc.c#L1535-L1536)
Excerpt:
```text
if ((statusFlags & PROC_IS_AUTOVACUUM) &&
!(statusFlags & PROC_VACUUM_FOR_WRAPAROUND))
```
- [REL_18_6 · doc/src/sgml/maintenance.sgml:1024-1027](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/maintenance.sgml#L1024-L1027)
Excerpt:
```text
is running to prevent transaction ID wraparound (i.e., the autovacuum query
name in the <structname>pg_stat_activity</structname> view ends with
<literal>(to prevent wraparound)</literal>), the autovacuum is not
automatically interrupted.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F5
### F6 · Accurate · Factual · Verified accurate: “…ACCESS EXCLUSIVE , which blocks even reads…”
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=ACCESS%20EXCLUSIVE%20%2C%20which%20blocks%20even%20reads)
Article says:
```text
…ACCESS EXCLUSIVE , which blocks even reads…
```
What is true:
AccessExclusiveLock conflicts with AccessShareLock, which ordinary SELECT acquires. PostgreSQL documents this lock for many ALTER TABLE forms.
Review: We checked the AccessShareLock conflict entry and ALTER TABLE documentation. Both support blocking ordinary reads of the locked table. We checked the conflict matrix and ALTER TABLE documentation. ACCESS EXCLUSIVE conflicts with ordinary reads' AccessShareLock.
Sources:
- [REL_18_6 · doc/src/sgml/mvcc.sgml:1089-1090](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/mvcc.sgml#L1089-L1090)
Excerpt:
```text
commands. Many forms of <command>ALTER INDEX</command> and <command>ALTER TABLE</command> also acquire
a lock at this level.
```
- [REL_18_6 · src/backend/storage/lmgr/lock.c:68-69](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L68-L69)
Excerpt:
```text
/* AccessShareLock */
LOCKBIT_ON(AccessExclusiveLock),
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F6
### F7 · Accurate · Factual · Verified accurate: “Building an index without CONCURRENTLY can block writes until it finishes…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=Building%20an%20index%20without%20CONCURRENTLY,block%20writes%20until%20it%20finishes)
Article says:
```text
Building an index without CONCURRENTLY can block writes until it finishes…
```
What is true:
CREATE INDEX takes ShareLock unless it uses the concurrent path. ShareLock conflicts with writers' RowExclusiveLock. PostgreSQL documents that writers wait until an ordinary index build finishes.
Review: We compared concurrent and ordinary CREATE INDEX paths. The ordinary path takes ShareLock, which conflicts with writers. We compared ordinary and concurrent index lock modes. Ordinary builds take ShareLock, which conflicts with writers.
Sources:
- [REL_18_6 · src/backend/storage/lmgr/lock.c:74-76](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L74-L76)
Excerpt:
```text
/* RowExclusiveLock */
LOCKBIT_ON(ShareLock) | LOCKBIT_ON(ShareRowExclusiveLock) |
LOCKBIT_ON(ExclusiveLock) | LOCKBIT_ON(AccessExclusiveLock),
```
- [REL_18_6 · src/backend/commands/indexcmds.c:681-682](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/indexcmds.c#L681-L682)
Excerpt:
```text
lockmode = concurrent ? ShareUpdateExclusiveLock : ShareLock;
rel = table_open(tableId, lockmode);
```
- [REL_18_6 · doc/src/sgml/ref/create_index.sgml:611-612](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/create_index.sgml#L611-L612)
Excerpt:
```text
insert, update, or delete rows in the table they will block until the
index build is finished.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F7
### F8 · Accurate · Factual · Verified accurate: “…adding a constraint can involve validating existing rows…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=adding%20a%20constraint%20can%20involve%20validating%20existing%20rows)
Article says:
```text
…adding a constraint can involve validating existing rows…
```
What is true:
REL_18_6 documents that adding a constraint normally scans existing rows (E-33). The foreign-key condition tests skip_validation and is_enforced (E-32). The article correctly says constraint addition can involve validating existing rows.
Review: We tested whether E-32 connects NOT VALID to deferred validation. It shows a condition without its body or parser mapping. E-33 supports the article's conditional scan claim.
Sources:
- [REL_18_6 · src/backend/commands/tablecmds.c:11094-11095](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/commands/tablecmds.c#L11094-L11095)
Excerpt:
```text
if (wqueue && !old_check_ok && !fkconstraint->skip_validation &&
fkconstraint->is_enforced)
```
- [REL_18_6 · doc/src/sgml/ref/alter_table.sgml:478-479](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/alter_table.sgml#L478-L479)
Excerpt:
```text
Normally, this form will cause a scan of the table to verify that all
existing rows in the table satisfy the new constraint.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F8
### F9 · Accurate · Factual · Verified accurate: “…one should stop using a column before dropping it…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=one%20should%20stop%20using%20a%20column%20before%20dropping%20it)
Article says:
```text
…one should stop using a column before dropping it…
```
What is true:
PostgreSQL raises UNDEFINED_COLUMN when a query references a missing column. Retaining the physical column until all dependent application versions stop querying it avoids that failure.
Review: We checked whether PostgreSQL evidence could certify Django behavior. The finding only verifies missing-column errors and the resulting deployment ordering. We checked whether the evidence certifies Django migration behavior. The finding verifies only PostgreSQL's missing-column failure and the compatible deployment order.
Sources:
- [REL_18_6 · src/backend/parser/parse_relation.c:3861-3865](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/parser/parse_relation.c#L3861-L3865)
Excerpt:
```text
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_COLUMN),
relname ?
errmsg("column %s.%s does not exist", relname, colname) :
errmsg("column \"%s\" does not exist", colname),
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F9
### F10 · Accurate · Factual · Verified accurate: “…the pooler’s connections to PostgreSQL have their own budget…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=the%20pooler%E2%80%99s%20connections%20to%20PostgreSQL%20have%20their%20own%20budget)
Article says:
```text
…the pooler’s connections to PostgreSQL have their own budget…
```
What is true:
PgBouncer separates max_client_conn from default_pool_size. The first limits clients. The second limits server connections per user/database pair. Application pool demand does not directly equal PostgreSQL connection demand.
Review: We tested whether application clients equal server connections. PgBouncer documents separate limits, with default_pool_size applying per user/database pair. We tested whether client demand equals server demand. PgBouncer documents separate client and server settings. The finding claims no incident-specific connection count.
Sources:
- [pgbouncer@pgbouncer_1_26_1 · doc/config.md:97-99](https://github.com/pgbouncer/pgbouncer/blob/f03e9bf263d7ccd5d1d152a61811bf3258dd6b87/doc/config.md#L97-L99)
Excerpt:
```text
### max_client_conn
Maximum number of client connections allowed.
```
- [pgbouncer@pgbouncer_1_26_1 · doc/config.md:124-126](https://github.com/pgbouncer/pgbouncer/blob/f03e9bf263d7ccd5d1d152a61811bf3258dd6b87/doc/config.md#L124-L126)
Excerpt:
```text
### default_pool_size
The maximum number of server connections to allow per user/database pair. Can be overridden by
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F10
### F11 · Accurate · Factual · Verified accurate: “A plan checked with EXPLAIN against representative data…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=A%20plan%20checked%20with%20EXPLAIN%20against%20representative%20data)
Article says:
```text
A plan checked with EXPLAIN against representative data…
```
What is true:
EXPLAIN displays the chosen plan. PostgreSQL warns against extrapolating plans from tiny tables to large tables. These facts support inspecting generated SQL against representative data.
Review: We tested whether EXPLAIN guarantees production timings. The finding claims plan visibility and representative-data testing, both supported by the documentation. We checked whether EXPLAIN alone establishes execution time. The finding claims plan visibility and representative-data benefits, which the documentation supports.
Sources:
- [REL_18_6 · doc/src/sgml/perform.sgml:34-35](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/perform.sgml#L34-L35)
Excerpt:
```text
You can use the <link linkend="sql-explain"><command>EXPLAIN</command></link> command
to see what query plan the planner creates for any query.
```
- [REL_18_6 · doc/src/sgml/perform.sgml:1125-1127](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/perform.sgml#L1125-L1127)
Excerpt:
```text
<command>EXPLAIN</command> results should not be extrapolated to situations
much different from the one you are actually testing; for example,
results on a toy-sized table cannot be assumed to apply to large tables.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F11
### F12 · Accurate · Factual · Verified accurate: “…an OR does not imply a full-table scan in every PostgreSQL query…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=an%20OR%20does%20not%20imply,scan%20in%20every%20PostgreSQL%20query)
Article says:
```text
…an OR does not imply a full-table scan in every PostgreSQL query…
```
What is true:
PostgreSQL generates BitmapOrPaths for suitable OR clauses. It can combine multiple index scans. An OR expression alone does not require a sequential scan.
Review: We looked for a universal claim that OR uses indexes. The finding says suitable clauses can use BitmapOrPaths, which the source confirms. We checked whether OR forces sequential scanning. The planner generates suitable BitmapOrPaths. The finding does not certify the unavailable subscription query.
Sources:
- [REL_18_6 · src/backend/optimizer/path/indxpath.c:318-321](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/optimizer/path/indxpath.c#L318-L321)
Excerpt:
```text
/*
* Generate BitmapOrPaths for any suitable OR-clauses present in the
* restriction list. Add these to bitindexpaths.
*/
```
- [REL_18_6 · doc/src/sgml/indices.sgml:667-668](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/indices.sgml#L667-L668)
Excerpt:
```text
The system can form <literal>AND</literal>
and <literal>OR</literal> conditions across several index scans.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F12
### F13 · Accurate · Factual · Verified accurate: “…ordering and data distribution can make an ordinary-looking query expensive…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=ordering%20and%20data%20distribution%20can%20make%20an%20ordinary%2Dlooking%20query%20expensive)
Article says:
```text
…ordering and data distribution can make an ordinary-looking query expensive…
```
What is true:
PostgreSQL considers index scans and explicit sorts for ORDER BY. cost_index uses estimated index correlation when calculating heap I/O costs. Ordering and data distribution can change plan costs.
Review: We checked whether cost_index actually uses correlation. Its I/O cost interpolation does, while the documentation confirms alternative ORDER BY plans. We tested whether the evidence establishes every data-distribution effect. The finding states only that ordering and index correlation affect planner costs.
Sources:
- [REL_18_6 · doc/src/sgml/indices.sgml:577-580](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/indices.sgml#L577-L580)
Excerpt:
```text
The planner will consider satisfying an <literal>ORDER BY</literal> specification
either by scanning an available index that matches the specification,
or by scanning the table in physical order and doing an explicit
sort.
```
- [REL_18_6 · src/backend/optimizer/path/costsize.c:795-797](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/optimizer/path/costsize.c#L795-L797)
Excerpt:
```text
csquared = indexCorrelation * indexCorrelation;
run_cost += max_IO_cost + csquared * (min_IO_cost - max_IO_cost);
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F13
### F14 · Accurate · Factual · Verified accurate: “…audit timeouts across the whole system, not one setting at a time…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=audit%20timeouts%20across%20the%20whole,one%20setting%20at%20a%20time)
Article says:
```text
…audit timeouts across the whole system, not one setting at a time…
```
What is true:
PgBouncer recommends setting its query_timeout above PostgreSQL statement_timeout. PostgreSQL also distinguishes statement_timeout from lock_timeout. These settings act on different stages and require coordinated values.
Review: We checked the direction of the timeout recommendation. PgBouncer specifies a smaller server-side statement_timeout, consistent with the finding. We checked the recommended timeout ordering. PgBouncer explicitly recommends a smaller server-side statement_timeout than its query_timeout.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:10308-10309](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L10308-L10309)
Excerpt:
```text
Unlike <varname>statement_timeout</varname>, this timeout can only occur
while waiting for locks.
```
- [pgbouncer@pgbouncer_1_26_1 · doc/config.md:1079-1083](https://github.com/pgbouncer/pgbouncer/blob/f03e9bf263d7ccd5d1d152a61811bf3258dd6b87/doc/config.md#L1079-L1083)
Excerpt:
```text
### query_timeout
Queries running longer than that are canceled. This should be used only with
a slightly smaller server-side `statement_timeout`, to apply only for network
problems. [seconds]
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F14
### F15 · Accurate · Factual · Verified accurate: “Small batches help…”
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=Small%20batches%20help)
Article says:
```text
Small batches help…
```
What is true:
PostgreSQL documents replica lag and lock contention from large updates. It recommends smaller batches for those conditions. Locks normally remain until transaction end. Separate bounded transactions address that lock duration.
Review: We tested batches inside one long transaction. The finding explicitly requires separate bounded transactions and does not promise that batching alone prevents lag. We tested whether batches inside one long transaction guarantee shorter locks. The finding requires separate bounded transactions and promises no universal improvement.
Sources:
- [REL_18_6 · doc/src/sgml/ref/update.sgml:481-484](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/ref/update.sgml#L481-L484)
Excerpt:
```text
Updates affecting many rows can have negative effects on system
performance, such as table bloat, increased replica lag, and increased
lock contention. In such situations it can make sense to perform the
operation in smaller batches, possibly with a <command>VACUUM</command>
```
- [REL_18_6 · doc/src/sgml/mvcc.sgml:1107-1107](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/mvcc.sgml#L1107-L1107)
Excerpt:
```text
Once acquired, a lock is normally held until the end of the transaction. But if a
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F15
### F16 · Accurate · Factual · max_slot_wal_keep_size is a checkpoint limit
Location: excerpt · section “1. Batch and throttle backfills” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=it%20is%20not%20an%20instantaneous%20ceiling%20on%20disk%20use.)
Article says:
```text
…it is not an instantaneous ceiling on disk use.
```
What is true:
REL_18_6 documents the retention limit at checkpoint time in doc/src/sgml/config.sgml:4717. Removing required WAL can prevent a standby from continuing replication. The article states both qualifications.
Charitable reading:
The article describes a checkpoint limit and explicitly accepts the risk of losing required WAL.
Review: We checked checkpoint timing and the consequence of removing required WAL. Both appear directly in config.sgml. We checked checkpoint timing and lost-WAL consequences. Both qualifications appear in PostgreSQL documentation and the article.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:4717-4720](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L4717-L4720)
Excerpt:
```text
Specify the maximum size of WAL files
that <link linkend="streaming-replication-slots">replication
slots</link> are allowed to retain in the <filename>pg_wal</filename>
directory at checkpoint time.
```
- [REL_18_6 · doc/src/sgml/config.sgml:4723-4725](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L4723-L4725)
Excerpt:
```text
restart_lsn of a replication slot falls behind the current LSN by more
than the given size, the standby using the slot may no longer be able
to continue replication due to removal of required WAL files. You
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F16
### F17 · Accurate · Factual · lock_timeout limits lock acquisition waits
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=lock_timeout%20bounds%20waiting%2C%20not%20how,an%20acquired%20lock%20is%20held)
Article says:
```text
…lock_timeout bounds waiting, not how long an acquired lock is held…
```
What is true:
lock_timeout does not limit how long a transaction holds an acquired lock. REL_18_6 states this distinction in doc/src/sgml/config.sgml:10308.
Charitable reading:
The article distinguishes waiting for a lock from holding an acquired lock.
Review: We checked whether the finding certifies the proposed 250-millisecond setting. It verifies only lock_timeout semantics, which config.sgml supports. We checked whether the finding validates the suggested 250-millisecond setting. It verifies only acquisition-wait semantics.
Sources:
- [REL_18_6 · doc/src/sgml/config.sgml:10308-10309](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L10308-L10309)
Excerpt:
```text
Unlike <varname>statement_timeout</varname>, this timeout can only occur
while waiting for locks. Note that if <varname>statement_timeout</varname>
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F17
### F19 · Accurate · Factual · OR conditions can use indexes
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=an%20OR%20does%20not%20imply,scan%20in%20every%20PostgreSQL%20query.)
Article says:
```text
…an OR does not imply a full-table scan in every PostgreSQL query.
```
What is true:
OR does not force a sequential scan. REL_18_6 doc/src/sgml/indices.sgml:665 documents combining multiple index scans for OR conditions.
Charitable reading:
The article confines its scan incident to one query and dataset.
Review: We checked whether the finding certifies the unavailable subscription query. It only rejects a universal OR restriction, which indices.sgml disproves. We tested the universal claim that OR requires a sequential scan. Documented combinations of index scans disprove that interpretation.
Sources:
- [REL_18_6 · doc/src/sgml/indices.sgml:665-668](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/indices.sgml#L665-L668)
Excerpt:
```text
<productname>PostgreSQL</productname> has the ability to combine multiple indexes
(including multiple uses of the same index) to handle cases that cannot
be implemented by single index scans. The system can form <literal>AND</literal>
and <literal>OR</literal> conditions across several index scans. For example,
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F19
### F20 · Accurate · Factual · PgBouncer exposes waiting clients
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=PgBouncer%20queues)
Article says:
```text
…PgBouncer queues…
```
What is true:
PgBouncer 1.26.1 exposes cl_waiting through SHOW POOLS. doc/usage.md:430 defines clients awaiting a server connection after submitting queries.
Charitable reading:
The article recommends observing PgBouncer queues without claiming that queues prove CPU saturation.
Review: We tested whether waiting clients establish CPU saturation. The finding only identifies the cl_waiting metric and its documented meaning. We checked whether cl_waiting proves CPU saturation or the reported incident. The finding verifies only the observable queue.
Sources:
- [pgbouncer@pgbouncer_1_26_1 · doc/usage.md:430-431](https://github.com/pgbouncer/pgbouncer/blob/f03e9bf263d7ccd5d1d152a61811bf3258dd6b87/doc/usage.md#L430-L431)
Excerpt:
```text
cl_waiting
: Client connections that have sent queries but have not yet got a server connection.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F20
### F21 · Accurate · Factual · Small-table tests cannot establish production query costs
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=Counting%20queries%20on%20a%20tiny,queries%20would%20cost%20in%20production.)
Article says:
```text
Counting queries on a tiny test database didn’t tell us what those queries would cost in production.
```
What is true:
PostgreSQL can choose different plans as table size changes. REL_18_6 doc/src/sgml/perform.sgml:1127 warns against extrapolating small-table results. A one-page table usually favors a sequential scan.
Charitable reading:
The article says query counts on a tiny database cannot establish production cost.
Review: We tested whether the documentation merely discusses timing variation. It explicitly warns that table size can change the chosen plan. We checked whether the finding treats every small-table plan as useless. It preserves the narrower warning against extrapolating production costs.
Sources:
- [REL_18_6 · doc/src/sgml/perform.sgml:1127-1131](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/perform.sgml#L1127-L1131)
Excerpt:
```text
results on a toy-sized table cannot be assumed to apply to large tables.
The planner's cost estimates are not linear and so it might choose
a different plan for a larger or smaller table. An extreme example
is that on a table that only occupies one disk page, you'll nearly
always get a sequential scan plan whether indexes are available or not.
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F21
### F22 · Accurate · Factual · A waiting migration can block conflicting requests
Location: excerpt · section “2. Set short lock timeouts and retry” · as fetched 2026-10-31 · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=it%20can%20block%20production%20before%20changing%20anything.)
Article says:
```text
…it can block production before changing anything.
```
What is true:
A pending lock request can block later conflicting requests before its transaction changes data. REL_18_6 src/backend/storage/lmgr/lock.c:1093 checks conflicts against waiting requests.
Charitable reading:
The surrounding paragraph concerns queries whose lock modes conflict with the waiting migration.
Review: We checked whether only granted locks cause blocking. LockAcquireExtended also checks incompatible waiting requests, which supports the conditional claim. We checked whether waiting DDL must first change data to block requests. LockAcquireExtended checks pending incompatible requests before granting locks.
Sources:
- [REL_18_6 · src/backend/storage/lmgr/lock.c:1086-1104](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L1086-L1104)
Excerpt:
```text
/*
* If lock requested conflicts with locks requested by waiters, must join
* wait queue. Otherwise, check for conflict with already-held locks.
* (That's last because most complex check.)
*/
if (lockMethodTable->conflictTab[lockmode] & lock->waitMask)
found_conflict = true;
```
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F22
### F23 · Accurate · Factual · The stated lookup workload requires 26 CPU-seconds per second
Location: Article · exact quote · [open in article](https://www.photoroom.com/inside-photoroom/how-a-read-replica-almost-took-down-its-primary-database#:~:text=At%20roughly%20twenty%20entitlement%20checks,CPU%2Dseconds%20of%20work%20every%20second)
Article says:
```text
At roughly twenty entitlement checks per second, that demanded about twenty-six CPU-seconds of work every second…
```
What is true:
The CPU calculation is correct: 26 CPU-seconds per second (derived: 1.3 CPU-seconds per lookup × 20 lookups per second). This subtotal excludes other application work. It does not independently verify either input.
Charitable reading:
The article calculates CPU demand from its stated inputs. It does not present 26 CPU-seconds per second as independently measured throughput.
Explanation: Checked for internal consistency: the evidence is the article itself.
Review: We recalculated 1.3 CPU-seconds per lookup × 20 lookups per second = 26 CPU-seconds per second. The finding excludes measurement verification. We recomputed 1.3 CPU-seconds per lookup times 20 lookups per second. The result is 26 CPU-seconds per second. Inputs remain unverified.
Finding URL: https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7#F23
## Notes (not graded) (0)
None.
## Withdrawn findings (0)
None.
## Section checks
- Backfills and WAL · A · 3 verified-accurate · 100% of claims (10 of 10, plus 13 that need data we do not have)
- Migration locks · A · 9 verified-accurate · 100% of claims (16 of 16, plus 14 that need data we do not have)
- Compatible schema changes · A · 1 verified-accurate · 100% of claims (2 of 2, plus 4 that need data we do not have)
- Connection transitions · A · 1 verified-accurate · 100% of claims (2 of 2, plus 18 that need data we do not have)
- Query plans · A · 6 verified-accurate · 100% of claims (9 of 9, plus 13 that need data we do not have)
- Automated controls · A · 2 verified-accurate · 100% of claims (2 of 2, plus 7 that need data we do not have)
## Claim coverage
- Introduction: no checkable claims; not counted: 10 product or opinion, 1 duplicate, 6 not a claim
- Backfills and WAL: 10 of 10 Postgres claims checked, plus 13 that need data we do not have; not counted: 15 product or opinion, 1 duplicate, 2 not a claim
- Migration locks: 16 of 16 Postgres claims checked, plus 14 that need data we do not have; not counted: 9 product or opinion, 1 duplicate, 4 not a claim
- Compatible schema changes: 2 of 2 Postgres claims checked, plus 4 that need data we do not have; not counted: 17 product or opinion, 1 duplicate, 1 not a claim
- Connection transitions: 2 of 2 Postgres claims checked, plus 18 that need data we do not have; not counted: 7 product or opinion, 1 not a claim
- Query plans: 9 of 9 Postgres claims checked, plus 13 that need data we do not have; not counted: 11 product or opinion, 2 not a claim
- Automated controls: 2 of 2 Postgres claims checked, plus 7 that need data we do not have; not counted: 21 product or opinion, 3 duplicate, 2 not a claim
- Footer: no checkable claims; not counted: 1 product or opinion, 3 duplicate, 23 not a claim
## What we did not check
- We did not verify incident timelines, disk volumes, connection peaks, CPU measurements, or recovery outcomes.
- We did not check Django, SQLAlchemy, Alembic, or the migration linter's implementation.
- We did not validate the proposed 250 ms to 1 second DDL timeouts, retries, or application pool settings against production.
- We did not check the application's backfill code, concurrent-write handling, rollout procedures, or timeout configuration.
- We did not reproduce query plans or verify alias lookups against the application's SQL and indexes.
- We could not retrieve the DoorDash, Doctolib, or GoCardless articles.
- We could not retrieve the DoorDash, Doctolib, or GoCardless articles cited for backfills, migration locks, and query planning.
- We did not independently verify the reported incidents, connection peaks, query timings, or monitoring timelines.
- We did not verify Google's 60 TB storage limit, storage billing, or the reported need for downtime.
- We did not verify the Django and SQLAlchemy behavior or test the migration sequence.
- We did not verify the migration linter's implementation or its deployed configuration.
- We did not reproduce the measurements or test the backfill and rollout procedures.
- We did not verify the article's incident measurements against operational records.
- We could not recalculate the five-to-seven-day disk forecast without the measured storage growth rate.
- We did not verify the nearly $6,000 monthly storage estimate without billing rates and storage configuration.
- We did not reproduce the article's lookup timings or connection measurements.
- Transparent: claims sourced check did not finish.
- Transparent: claims dated check did not finish.
- Transparent: interest disclosed check did not finish.
- We could not decide whether the article contains a material benchmark.
- No fenced or preformatted code blocks were identified. Inline snippets and other setup instructions were not checked for syntax.
## Notes
- A — the findings address the article's main subject. What we did not check is listed below. Checks directly test the outage-prevention guidance on WAL retention, lock_timeout, column removal, PgBouncer limits, and EXPLAIN.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 5 axes: 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_18_6 at commit 724edf9bde9d356724ad384a2e196edc3c9f80f7 (pinned target); github.com/pgbouncer/pgbouncer pgbouncer_1_26_1 at commit f03e9bf263d7ccd5d1d152a61811bf3258dd6b87 (pinned target); https://www.photoroom.com/ (fetched 2026-10-31T02:31:34.410758Z); https://www.photoroom.com/inside-photoroom (fetched 2026-10-31T02:31:35.503443Z); https://www.photoroom.com/inside-photoroom/category/category-1 (fetched 2026-10-31T02:31:52.557913Z); https://www.photoroom.com/inside-photoroom/category/category-2 (fetched 2026-10-31T02:31:36.666378Z); https://www.photoroom.com/inside-photoroom/category/category-4 (fetched 2026-10-31T02:31:54.928024Z); https://www.photoroom.com/inside-photoroom/how-photoroom-can-cut-carbon-footprint (fetched 2026-10-31T02:31:48.486574Z); https://www.photoroom.com/inside-photoroom/how-photoroom-runs-daily-standups-for-40-engineers-and-what-s-a-good-standup-message (fetched 2026-10-31T02:31:49.720339Z); https://www.photoroom.com/inside-photoroom/how-we-automated-our-changelog-thanks-to-chatgpt (fetched 2026-10-31T02:31:51.422017Z); https://www.photoroom.com/inside-photoroom/how-we-built-a-skills-marketplace-for-claude (fetched 2026-10-31T02:31:53.695283Z); https://www.photoroom.com/inside-photoroom/how-we-cut-gpu-cold-starts-from-minutes-to-seconds-with-memory-checkpointing (fetched 2026-10-31T02:31:56.204474Z); https://www.photoroom.com/inside-photoroom/how-we-measured-the-co2-emissions-of-our-ai-models-at-inference-time (fetched 2026-10-31T02:31:57.392392Z); https://www.photoroom.com/inside-photoroom/hunt-cheap-gpu-deep-learning (fetched 2026-10-31T02:31:58.649648Z); https://www.photoroom.com/inside-photoroom/improving-loading-experience-in-swiftui (fetched 2026-10-31T02:31:59.889903Z); https://www.photoroom.com/inside-photoroom/inside-the-first-photoroom-100-awards (fetched 2026-10-31T02:32:01.360449Z); https://www.photoroom.com/inside-photoroom/introducing-studio-hd (fetched 2026-10-31T02:32:02.655255Z); https://www.photoroom.com/inside-photoroom/what-are-pr-reviews-good-for-anyway- (fetched 2026-10-31T02:31:45.058390Z).
- Article captured 2026-10-31T02:31:04.707628Z · SHA-256 75ac364fc3a24e4ccdc054120e7bc56f2986b7fe869cf7e43f1a52560952f173 · Text extracted from the article's HTML.
- Policy SHA-256 03f120dac9ed8193a90bd874f628c5ce716d5cba6aa20be57940e9361df439da · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not verify incident timelines, disk volumes, connection peaks, CPU measurements, monitoring timelines, or recovery outcomes against operational records.
- We did not verify the 60 TB storage limit, storage billing, or the reported need for downtime.
- We could not recalculate the five-to-seven-day storage forecast without the measured growth rate.
- We did not check Django, SQLAlchemy, Alembic, or the migration linter's implementation and deployed configuration.
- We did not validate the proposed 250 ms to 1 second lock timeouts, retries, or pool settings against production.
- We did not test the backfill code, concurrent-write handling, rollout procedures, or application timeout configuration.
- We did not reproduce query plans or lookup timings against the application's SQL, indexes, and production data.
- We could not retrieve the DoorDash, Doctolib, or GoCardless articles.
- We checked the CPU multiplication. Fewer than five independent primary-source quotations were available for the incident figures.
- The article contains no fenced or preformatted code blocks. Inline snippets and setup instructions received no syntax checks.
- The article gives October 26, 2026 without a time. We list that date at midnight UTC.
- source: the article names no postgres release, so it was read at REL_18_6, the latest release when it was published
- source: the article names no pgbouncer release, so it was read at pgbouncer_1_26_1, the latest release when it was published
- One fetched page is not listed above, because our policy does not allow linking it.
- review: the findings were written by one model and reviewed independently by a different model.
- 6 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, 2 pinned source trees, and 16 fetched pages.
- 20 survived · 3 weakened · 0 withdrawn.
## Edition changes
- F1 · recalibrated.
- F2 · weakened.
- F3 · recalibrated.
- F4 · weakened.
- F5 · recalibrated.
- F6 · recalibrated.
- F7 · recalibrated.
- F8 · weakened.
- F9 · recalibrated.
- F10 · recalibrated.
- F11 · recalibrated.
- F12 · recalibrated.
- F13 · recalibrated.
- F14 · recalibrated.
- F15 · recalibrated.
- F16 · recalibrated.
- F17 · recalibrated.
- F18 · recalibrated: We tested immediate cancellation as an alternative interpretation. The finding says a waiter can interrupt ordinary autovacuum and correctly preserves the wraparound exception. We checked cancellation prerequisites rather than assuming immediate interruption. The finding says a waiter can interrupt ordinary autovacuum and preserves the wraparound exception.
- F19 · recalibrated.
- F20 · recalibrated.
- F21 · recalibrated.
- F22 · recalibrated.
- F23 · recalibrated.
## Revision history
- [Revision 1](https://pgtrue.postgres.ai/shared/brief/99b3ea63-b79a-405b-a861-091721c96cf7?v=2) · this page · 2026-10-31 02:31 UTC · A · audited with v1.1.3
Article as first submitted. 22 accurate · 0 wrong · 0 caveats.
ElephantSeal: A.
Changes: First audit. Open: none.