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/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.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/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.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/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.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/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3)
<a href="https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3"><img src="https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/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/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/e01006d6-e598-414b-9aeb-1bd662228ae3/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
   :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

All Your GUCs in a Row: primary_conninfo (opens in new tab)

thebuild.com
Sound. 1 recipe error (Safe) fails loudly; see the finding.
0
inaccuracy
0
dangerous-recipe
1
recipe-error
0
misleading
0
imprecise
0
transcription
0
aged
0
withdrawn
16
verified-accurate

Factual A · Applicable A · Consistent A · Transparent A · Safe A−

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.17 (approx.) · regraded with v1.1.0 (approx.)

InaccuraciesNone in this edition.

Dangerous or recipe bugsNone in this edition.

Recipe errors (fail loudly)

F1

The displayed multi-host configuration contains invalid literal newlines

Recipe errorSafe · holds up after review

Claim ledger

Article says
…primary_conninfo = 'host=node1,node2,node3 port=5432 user=replicator passfile=/var/lib/postgresql/.pgpass target_session_attrs=read-write'…
What is true
The displayed three-line assignment is invalid in postgresql.conf. src/backend/utils/misc/guc-file.l:92 excludes newlines from quoted strings. PostgreSQL 18 retains that restriction at line 89. Put the assignment on one physical line. Copying these literal line breaks into a new standby's configuration prevents startup.
So what
Put the entire primary_conninfo assignment on one physical line in postgresql.conf before starting the standby.
Charitable reading
The line breaks may serve readability. The displayed configuration provides no continuation syntax.

Source

Source · REL_13_23 · src/backend/utils/misc/guc-file.l:90-108STRING \'([^'\\\n]|\\.|\'\')*\'
In the article · section “Following the primary”

In the article

excerpt · section “Following the primary” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

Following the primary

primary_conninfo = 'host=node1,node2,node3 port=5432 user=replicator
passfile=/var/lib/postgresql/.pgpass
target_session_attrs=read-write'
All sources and excerpts · 2
EvidenceSTRING \'([^'\\\n]|\\.|\'\')*\'
EvidenceSTRING \'([^'\\\n]|\\.|\'\')*\'

Version note: Also checked PostgreSQL 18, which the article discusses.

How the review tested this

Review: We tested the readability interpretation against both lexer versions. Both reject literal newlines inside this quoted configuration value. The finding explicitly limits its charge to copying those displayed line breaks. We tested the readability interpretation. Both parser versions exclude literal newlines from quoted values. The finding explicitly concerns copying the displayed assignment.

Misleading / impreciseNone in this edition.

Verified accurate

F3

primary_conninfo does not enable standby mode

ACCURATEFactual · holds up after review

Claim ledger

Article says
…primary_conninfo does not make a server a standby.
What is true
standby.signal enables standby mode in src/backend/access/transam/xlog.c:5512. recovery.signal enables archive recovery without standby mode. primary_conninfo supplies the sending-server connection after standby mode is selected.
Charitable reading
The claim concerns PostgreSQL 12 and later signal-file recovery.

Source

Source · REL_13_23 · doc/src/sgml/config.sgml:4249-4290Specifies a connection string to be used for the standby server to connect with a sending server. This string is in the format described in <xref linkend="libpq-connstring"/>. If any option is unspecified in this string, then the corresponding environment variable (see <xref linkend="libpq-envars"/>) is checked. If the environment variable is not set either, then defaults are used.
In the article · section “All Your GUCs in a Row: primary_conninfo”

In the article

excerpt · section “All Your GUCs in a Row: primary_conninfo” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

All Your GUCs in a Row: primary_conninfo

primary_conninfo does not make a server a standby. standby.signal does that. What primary_conninfo does is tell a server that is already a standby where to ask for WAL, and outside that situation it is inert: on a primary it sits in pg_settings doing nothing, and on a server started with recovery.signal instead of standby.signal it is not even consulted; the server refuses to start ( must specify "restore_command" when standby mode is not enabled ), because streaming happens in standby mode and nowhere else.

All sources and excerpts · 3
Evidence Specifies a connection string to be used for the standby server to connect with a sending server. This string is in the format described in <xref linkend="libpq-connstring"/>. If any option is unspecified in this string, then the corresponding environment variable (see <xref linkend="libpq-envars"/>) is checked. If the environment variable is not set either, then defaults are used.
Evidence {"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY, gettext_noop("Sets the connection string to be used to connect to the sending server."), NULL, GUC_SUPERUSER_ONLY }, &PrimaryConnInfo, "", NULL, NULL, NULL },
Evidence if (standby_signal_file_found) { StandbyModeRequested = true; ArchiveRecoveryRequested = true; } else if (recovery_signal_file_found) { StandbyModeRequested = false; ArchiveRecoveryRequested = true; }
How the review tested this

Review: We checked whether recovery.signal also enables standby mode. Its branch explicitly leaves StandbyModeRequested false. The narrower accuracy finding stands. We checked whether recovery.signal also selects standby mode. Its branch explicitly disables standby mode. standby.signal selects it independently of primary_conninfo.

F4

Physical receivers use replication for password-file database matching

ACCURATEFactual · holds up after review

Claim ledger

Article says
…dbname=replication…
What is true
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:148 overrides dbname with replication for physical connections. The same routine forces replication=true. Its comment identifies password-file lookup as the reason for the database override.
Charitable reading
The article describes physical WAL receiver connections, not logical replication connections.

Source

Source · REL_13_23 · src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:125-170keys[i] = "dbname"; vals[i] = conninfo; keys[++i] = "replication"; vals[i] = logical ? "database" : "true"; if (!logical) { /* * The database name is ignored by the server in replication mode, but * specify "replication" for .pgpass lookup. */ keys[++i] = "dbname"; vals[i] = "replication"; }
In the article · section “What the walreceiver hands to libpq”

In the article

excerpt · section “What the walreceiver hands to libpq” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

What the walreceiver hands to libpq

The server does not so much read this string as pass it along. When the startup process has run out of WAL in the archive and in pg_wal , and only then, it starts a walreceiver, and the walreceiver hands your string to libpq with three things appended: replication=true , dbname=replication , and fallback_application_name set to cluster_name (or to the literal walreceiver , if you have never set one). Each of those has a consequence.

All sources and excerpts · 2
Evidence keys[i] = "dbname"; vals[i] = conninfo; keys[++i] = "replication"; vals[i] = logical ? "database" : "true"; if (!logical) { /* * The database name is ignored by the server in replication mode, but * specify "replication" for .pgpass lookup. */ keys[++i] = "dbname"; vals[i] = "replication"; }
Evidence snprintf(conn->pgpassfile, MAXPGPATH, "%s/%s", homedir, PGPASSFILE);
How the review tested this

Review: We checked the logical-connection exception and option ordering. The physical branch appends dbname=replication after the expanded connection string. We tested the logical-connection exception. The finding correctly limits itself to physical connections, where dbname=replication follows the expanded connection string.

F5

WAL retrieval retries follow the documented source sequence

ACCURATEFactual · holds up after review

Claim ledger

Article says
…wal_retrieve_retry_interval (five seconds)…
What is true
src/backend/access/transam/xlog.c:12511 describes archive and local WAL checks before streaming. Recovery returns to those sources after streaming fails. wal_retrieve_retry_interval defaults to 5,000 milliseconds.
Charitable reading
The five-second description assumes the default retry interval and promptly failing attempts.

Source

Source · REL_13_23 · src/backend/access/transam/xlog.c:12508-12522* 1. Read from either archive or pg_wal (XLOG_FROM_ARCHIVE), or just * pg_wal (XLOG_FROM_PG_WAL) * 2. Check trigger file * 3. Read from primary server via walreceiver (XLOG_FROM_STREAM) * 4. Rescan timelines * 5. Sleep wal_retrieve_retry_interval milliseconds, and loop back to 1.
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…wal_retrieve_retry_interval (five seconds)…
All sources and excerpts · 4
Evidence * 1. Read from either archive or pg_wal (XLOG_FROM_ARCHIVE), or just * pg_wal (XLOG_FROM_PG_WAL) * 2. Check trigger file * 3. Read from primary server via walreceiver (XLOG_FROM_STREAM) * 4. Rescan timelines * 5. Sleep wal_retrieve_retry_interval milliseconds, and loop back to 1.
Evidence &wal_retrieve_retry_interval, 5000, 1, INT_MAX,
Evidence GUC_UNIT_MS }, &wal_retrieve_retry_interval, 5000, 1, INT_MAX,

Version note: PostgreSQL 13.23 setting definition.

Evidence {"wal_retrieve_retry_interval", PGC_SIGHUP, REPLICATION_STANDBY, gettext_noop("Sets the time to wait before retrying to retrieve WAL " "after a failed attempt."), NULL, GUC_UNIT_MS }, &wal_retrieve_retry_interval, 5000, 1, INT_MAX, NULL, NULL, NULL },
How the review tested this

Review: We tested whether five seconds denotes a connection deadline. The finding correctly describes the retry setting and source sequence. It does not guarantee five-second completion. We tested whether five seconds guarantees attempt duration. The finding verifies source order and the default interval, without claiming that guarantee.

F6

Reloading an empty primary_conninfo disables streaming

ACCURATEFactual · holds up after review

Claim ledger

Article says
…set it to the empty string and reload…
What is true
Configuration reload requests receiver restart when primary_conninfo changes. src/backend/access/transam/xlog.c:12779 starts a replacement only when the string is nonempty. PostgreSQL 13 supports this reload. PostgreSQL 12 requires restart.
Charitable reading
The instruction changes primary_conninfo on an existing standby and reloads its configuration.

Source

Source · REL_13_23 · src/backend/utils/misc/guc.c:3793-3801 {"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY, gettext_noop("Sets the connection string to be used to connect to the sending server."), NULL, GUC_SUPERUSER_ONLY }, &PrimaryConnInfo, "", NULL, NULL, NULL },
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…set it to the empty string and reload…
All sources and excerpts · 5
Evidence {"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY, gettext_noop("Sets the connection string to be used to connect to the sending server."), NULL, GUC_SUPERUSER_ONLY }, &PrimaryConnInfo, "", NULL, NULL, NULL },
Evidence if (!slotnameChanged && strcmp(PrimarySlotName, "") == 0) tempSlotChanged = tempSlot != wal_receiver_create_temp_slot; pfree(conninfo); pfree(slotname); if (conninfoChanged || slotnameChanged || tempSlotChanged) StartupRequestWalReceiverRestart();
Evidence if (startWalReceiver && PrimaryConnInfo && strcmp(PrimaryConnInfo, "") != 0)
Evidence {"primary_conninfo", PGC_POSTMASTER, REPLICATION_STANDBY,

Version note: PostgreSQL 12 requires restart for this setting.

Evidence If this parameter is changed while the WAL receiver process is running, that process is signaled to shut down and expected to restart with the new setting (except if <varname>primary_conninfo</varname> is an empty string).

Version note: PostgreSQL 13.23 documentation excerpt.

How the review tested this

Review: We checked both restart triggering and replacement suppression. The empty-string guard prevents replacement. PostgreSQL 12 and 13 setting contexts support the version distinction. We checked shutdown and replacement separately. Reload requests restart, but an empty string blocks replacement. PostgreSQL 12 uses postmaster context.

F7

Configuration-change logging exposes inline connection passwords

ACCURATEFactual · holds up after review

Claim ledger

Article says
…with the complete value, every time a reload changes the parameter…
What is true
src/backend/utils/misc/guc-file.l:456 logs the changed configuration value without redaction. The postmaster uses LOG severity for this message. The default log_min_messages value is WARNING, which includes LOG messages.
Charitable reading
The claim concerns a changed value successfully applied during configuration reload.

Source

Source · REL_13_23 · src/backend/utils/misc/guc-file.l:430-460if (strcmp(pre_value, post_value) != 0) ereport(elevel, (errmsg("parameter \"%s\" changed to \"%s\"", item->name, item->value)));
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…with the complete value, every time a reload changes the parameter…
All sources and excerpts · 3
Evidence if (strcmp(pre_value, post_value) != 0) ereport(elevel, (errmsg("parameter \"%s\" changed to \"%s\"", item->name, item->value)));
Evidence elevel = IsUnderPostmaster ? DEBUG2 : LOG;
Evidence &log_min_messages, WARNING, server_message_level_options,
How the review tested this

Review: We checked the logging condition for successful reloads and possible redaction. The postmaster logs item->value directly when its effective value changes. We checked for redaction and logging conditions. A successful changed value reaches the postmaster's LOG message through item->value without redaction.

F8

pg_basebackup preserves inherited slot settings unless it overrides them

ACCURATEFactual · holds up after review

Claim ledger

Article says
…pg_basebackup -R appends to postgresql.auto.conf…
What is true
src/fe_utils/recovery_gen.c:131 opens postgresql.auto.conf in append mode. The generator writes primary_slot_name only when it receives a replication-slot argument. Existing slot settings can therefore remain effective in a clone. Later primary_conninfo entries override earlier entries.
Charitable reading
The article describes PostgreSQL 12 and later postgresql.auto.conf recovery configuration.

Source

Source · REL_13_23 · src/fe_utils/recovery_gen.c:20-160snprintf(filename, MAXPGPATH, "%s/%s", target_dir, use_recovery_conf ? "recovery.conf" : "postgresql.auto.conf"); cf = fopen(filename, use_recovery_conf ? "w" : "a");
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…pg_basebackup -R appends to postgresql.auto.conf…
All sources and excerpts · 5
Evidence snprintf(filename, MAXPGPATH, "%s/%s", target_dir, use_recovery_conf ? "recovery.conf" : "postgresql.auto.conf"); cf = fopen(filename, use_recovery_conf ? "w" : "a");
Evidence if (replication_slot) { /* unescaped: ReplicationSlotValidateName allows [a-z0-9_] only */ appendPQExpBuffer(contents, "primary_slot_name = '%s'\n", replication_slot); }
Evidence /* Omit empty settings and those libpqwalreceiver overrides. */ if (strcmp(opt->keyword, "replication") == 0 || strcmp(opt->keyword, "dbname") == 0 || strcmp(opt->keyword, "fallback_application_name") == 0 || (opt->val == NULL) || (opt->val != NULL && opt->val[0] == '\0')) continue;
Evidence identifiers or numbers must be single-quoted. To embed a single quote in a parameter value, write either two quotes (preferred) or backslash-quote. If the file contains multiple entries for the same parameter, all but the last one are ignored.
Evidence /* Skip auto conf temporary file. */ {PG_AUTOCONF_FILENAME ".tmp", false},
How the review tested this

Review: We checked whether backup exclusions remove postgresql.auto.conf and whether slot output is unconditional. Only its temporary file is excluded. Slot output requires replication_slot. We tested whether recovery generation clears inherited settings. Append mode preserves them. The generator writes primary_slot_name only when it receives a slot argument.

F9

The primary selection restriction holds for older physical replication upstreams

ACCURATEFactual · holds up after review

Claim ledger

Article says
…it needs the upstream to report in_hot_standby…
What is true
PostgreSQL 14 libpq falls back to SELECT pg_catalog.pg_is_in_recovery() when in_hot_standby is unavailable. Physical replication senders reject that SQL. read-write instead uses SHOW transaction_read_only, which the replication protocol supports.
Charitable reading
The upstream-version restriction applies to physical replication connections. Ordinary database connections can use the SQL fallback.

Source

Source · REL_14_0 · src/interfaces/libpq/fe-connect.c:3597-3638* If the server didn't report "in_hot_standby" at * startup, we must determine its state by sending the * query "SELECT pg_catalog.pg_is_in_recovery()". Servers
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…it needs the upstream to report in_hot_standby…
All sources and excerpts · 3
Evidence * If the server didn't report "in_hot_standby" at * startup, we must determine its state by sending the * query "SELECT pg_catalog.pg_is_in_recovery()". Servers

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

Evidence if (MyDatabaseId == InvalidOid) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("cannot execute SQL commands in WAL sender for physical replication")));
Evidence <literal>SHOW transaction_read_only</literal> will be sent upon any successful connection; if it returns <literal>on</literal>, the connection will be closed. If multiple hosts were specified in the connection string, any remaining servers will be tried just as if the connection attempt had failed. The default value of this parameter, <literal>any</literal>, regards all connections as acceptable.
How the review tested this

Review: We tried the SQL fallback as a counterexample. Physical replication rejects that query, so ordinary database connections do not refute this scoped finding. We tested libpq's SQL fallback as a counterexample. Physical senders reject that fallback. The finding correctly excludes ordinary database connections.

F10

Slot synchronization requires an explicit database in primary_conninfo

ACCURATEFactual · holds up after review

Claim ledger

Article says
…the slot-synchronization worker needs an ordinary database to connect to…
What is true
PostgreSQL 17 checks primary_conninfo for dbname in src/backend/replication/logical/slotsync.c:1020. The worker errors when dbname is absent. The version-matched documentation distinguishes this database connection from physical streaming.
Charitable reading
The article explicitly limits slot synchronization to PostgreSQL 17 and later.

Source

Source · REL_17_0 · src/backend/replication/logical/slotsync.c:1007-1032 * The slot synchronization needs a database connection for walrcv_exec to * work. */ dbname = walrcv_get_dbname_from_conninfo(PrimaryConnInfo); if (dbname == NULL) ereport(ERROR, errcode(ERRCODE_INVALID_PARAMETER_VALUE),
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…the slot-synchronization worker needs an ordinary database to connect to…
All sources and excerpts · 2
Evidence * The slot synchronization needs a database connection for walrcv_exec to * work. */ dbname = walrcv_get_dbname_from_conninfo(PrimaryConnInfo); if (dbname == NULL) ereport(ERROR, errcode(ERRCODE_INVALID_PARAMETER_VALUE),

Version note: Checked PostgreSQL 17, the article's explicit version floor.

Evidence it is also necessary to specify a valid <literal>dbname</literal> in the <varname>primary_conninfo</varname> string. This will only be used for slot synchronization. It is ignored for streaming.

Version note: The PostgreSQL 13 snapshot predates this explicitly versioned feature.

How the review tested this

Review: We checked the explicit PostgreSQL 17 scope rather than imposing PostgreSQL 13 behavior. The worker errors when its database name is absent. We checked the explicit PostgreSQL 17 scope. Its worker rejects missing dbname, and its documentation separates synchronization from physical streaming.

F12

The sender-timeout options example uses valid configuration quoting

ACCURATEFactual · holds up after review

Claim ledger

Article says
…options=''-c wal_sender_timeout=5000''…
What is true
doc/src/sgml/high-availability.sgml:752 contains the same options value and doubled quotes. wal_sender_timeout has PGC_USERSET context and millisecond units. The receiver can supply that upstream session setting through libpq options.
Charitable reading
The doubled quotes occur inside an outer quoted PostgreSQL configuration value.

Source

Source · REL_13_23 · doc/src/sgml/high-availability.sgml:746-755primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…options=''-c wal_sender_timeout=5000''…
All sources and excerpts · 3
Evidenceprimary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
Evidence {"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING, gettext_noop("Sets the maximum time to wait for WAL replication."), NULL, GUC_UNIT_MS
Evidence identifiers or numbers must be single-quoted. To embed a single quote in a parameter value, write either two quotes (preferred) or backslash-quote. If the file contains multiple entries for the same parameter, all but the last one are ignored.
How the review tested this

Review: We tested the doubled quotes under the stated outer configuration quoting. The documented example and PGC_USERSET definition support the finding. We tested the doubled quotes under the stated outer quoting. Configuration syntax permits them. wal_sender_timeout accepts session changes and uses milliseconds.

F13

Verified accurate: “…password=********…”

ACCURATEFactual · partly holds after review

Claim ledger

Article says
…password=********…
What is true
libpqrcv_get_conninfo reads live connection options. src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:300 identifies security-sensitive options, which the formatter replaces with eight asterisks. src/backend/replication/walreceiver.c:305 obtains that string and copies it into walrcv->conninfo.

Source

Source · REL_13_23 · src/backend/replication/walreceiver.c:290-312wrconn = walrcv_connect(conninfo, false, cluster_name[0] ? cluster_name : "walreceiver", &err);
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…password=********…
All sources and excerpts · 2
Evidence wrconn = walrcv_connect(conninfo, false, cluster_name[0] ? cluster_name : "walreceiver", &err);
Evidence /* Obfuscate security-sensitive options */ obfuscate = strchr(conn_opt->dispchar, '*') != NULL; appendPQExpBuffer(&buf, "%s%s=%s", buf.len == 0 ? "" : " ", conn_opt->keyword, obfuscate ? "********" : conn_opt->val);
How the review tested this

Review: We checked whether the cited ranges establish masking, storage, and display. They establish masking and storage. Neither shows the statistics-view implementation.

F14

Two active receivers cannot share one physical replication slot

ACCURATEFactual · holds up after review

Claim ledger

Article says
…a slot is held by one walsender at a time…
What is true
src/backend/replication/slot.c:469 detects ownership by another process. Slot acquisition then reports the active owner's PID. Clones that inherit a sibling's slot name can encounter the contention described in the article.
Charitable reading
The claim concerns concurrent active use, not creating multiple distinct slots.

Source

Source · REL_13_23 · src/backend/replication/slot.c:450-478if (active_pid != MyProcPid) { if (behavior == SAB_Error) ereport(ERROR, (errcode(ERRCODE_OBJECT_IN_USE), errmsg("replication slot \"%s\" is active for PID %d", NameStr(s->data.name), active_pid)));
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…a slot is held by one walsender at a time…
All sources and excerpts · 1
Evidence if (active_pid != MyProcPid) { if (behavior == SAB_Error) ereport(ERROR, (errcode(ERRCODE_OBJECT_IN_USE), errmsg("replication slot \"%s\" is active for PID %d", NameStr(s->data.name), active_pid)));
How the review tested this

Review: We distinguished sequential reuse from simultaneous ownership. Acquisition rejects another active owner. The finding claims contention, not permanent ownership. We distinguished concurrent ownership from later reuse. Slot acquisition detects another owner and reports its PID. The finding concerns concurrent use.

F15

primary_conninfo affects standby operation

ACCURATEFactual · holds up after review

Claim ledger

Article says
…outside that situation it is inert…
What is true
PostgreSQL 13.23 documents no effect outside standby mode. See doc/src/sgml/config.sgml:4287.
Charitable reading
The claim concerns primary_conninfo during server operation, excluding later copying into another server's configuration.

Source

Source · REL_13_23 · doc/src/sgml/config.sgml:4287-4287This setting has no effect if the server is not in standby mode.
In the article · section “All Your GUCs in a Row: primary_conninfo”

In the article

excerpt · section “All Your GUCs in a Row: primary_conninfo” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

All Your GUCs in a Row: primary_conninfo

primary_conninfo does not make a server a standby. standby.signal does that. What primary_conninfo does is tell a server that is already a standby where to ask for WAL, and outside that situation it is inert: on a primary it sits in pg_settings doing nothing, and on a server started with recovery.signal instead of standby.signal it is not even consulted; the server refuses to start ( must specify "restore_command" when standby mode is not enabled ), because streaming happens in standby mode and nowhere else.

All sources and excerpts · 1
Evidence This setting has no effect if the server is not in standby mode.

Version note: PostgreSQL 13.23 documentation excerpt.

How the review tested this

Review: We tested whether later copying configuration contradicts operational inertness. The finding excludes that separate operation and matches the documentation. We tested inherited configuration as a counterexample. That affects a later standby. The documentation directly supports the finding's operational scope.

F16

Standby password-file entries use replication

ACCURATEFactual · holds up after review

Claim ledger

Article says
A .pgpass line with app or postgres in the database column will never match a walreceiver connection…
What is true
PostgreSQL 13.23 specifies replication as the standby password-file database name. See doc/src/sgml/config.sgml:4275.
Charitable reading
The claim concerns physical WAL receiver authentication, excluding ordinary database connections.

Source

Source · REL_13_23 · doc/src/sgml/config.sgml:4275-4276<filename>~/.pgpass</filename> file on the standby server (use <literal>replication</literal> as the database name).
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)A .pgpass line with app or postgres in the database column will never match a walreceiver connection…
All sources and excerpts · 1
Evidence <filename>~/.pgpass</filename> file on the standby server (use <literal>replication</literal> as the database name).

Version note: PostgreSQL 13.23 documentation excerpt.

How the review tested this

Review: We checked the physical-receiver scope and wildcard alternative. Neither permits app or postgres to match the replication database name. We checked the physical-authentication scope. The documentation specifies replication for the password-file database field. The finding does not exclude wildcard entries.

F17

primary_conninfo defaults to an empty string

ACCURATEFactual · holds up after review

Claim ledger

Article says
The default is the empty string.
What is true
PostgreSQL 13.23 initializes PrimaryConnInfo to an empty string. See src/backend/utils/misc/guc.c:3798.
Charitable reading
The claim describes the compiled default before configuration overrides.

Source

Source · REL_13_23 · src/backend/utils/misc/guc.c:3798-3799&PrimaryConnInfo, "",
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)The default is the empty string.
All sources and excerpts · 1
Evidence &PrimaryConnInfo, "",

Version note: PostgreSQL 13.23 setting definition.

How the review tested this

Review: We distinguished the compiled default from configured values. PrimaryConnInfo has the empty-string default shown in the finding. We distinguished the compiled default from configured values. The setting definition initializes PrimaryConnInfo to an empty string.

F18

wal_sender_timeout=5 specifies 5 ms

ACCURATEFactual · holds up after review

Claim ledger

Article says
…5 , five milliseconds…
What is true
PostgreSQL 13.23 marks wal_sender_timeout with GUC_UNIT_MS in src/backend/utils/misc/guc.c:2795. A unitless value of 5 means 5 ms.
Charitable reading
The sentence reports one test. We verified its unit conversion without treating its timing as a general guarantee.

Source

Source · REL_13_23 · src/backend/utils/misc/guc.c:2795-2803{"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING, gettext_noop("Sets the maximum time to wait for WAL replication."), NULL, GUC_UNIT_MS
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…5 , five milliseconds…
All sources and excerpts · 1
Evidence {"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING, gettext_noop("Sets the maximum time to wait for WAL replication."), NULL, GUC_UNIT_MS
How the review tested this

Review: We checked whether the finding endorses the reported timing. It verifies only the unit conversion. GUC_UNIT_MS supports 5 ms. We tested whether this finding endorses the measured termination time. It verifies only the unit conversion. GUC_UNIT_MS supports that narrower claim.

F19

The documentation contains three inline password examples

ACCURATEFactual · holds up after review

Claim ledger

Article says
…password=foopass inline, three times on one page…
What is true
PostgreSQL 13.23 includes password=foopass in three primary_conninfo examples. They appear in doc/src/sgml/high-availability.sgml:752, 883, and 995.
Charitable reading
The count concerns documentation examples. It does not claim that inline passwords are required.

Source

Source · REL_13_23 · doc/src/sgml/high-availability.sgml:752-752primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…password=foopass inline, three times on one page…
All sources and excerpts · 3
Evidenceprimary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
Evidenceprimary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
Evidenceprimary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
How the review tested this

Review: We checked whether identical example text inflated the count. Three distinct source lines contain password=foopass. The finding correctly counts occurrences. We checked whether duplicate text inflated the count. The examples occupy three distinct source lines, despite two containing identical text.

Notes

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

connect_timeout parses but does not limit receiver connection attempts

NOTEholds up after review

Claim ledger

Article says
…anything libpq accepts is accepted here: sslmode , connect_timeout , tcp_user_timeout , and options…
What is true
The receiver accepts connect_timeout but ignores its deadline. doc/src/sgml/libpq.sgml:478 documents that PQconnectPoll ignores this parameter. PostgreSQL 13 and 18 receiver connection loops use that interface. Setting connect_timeout does not shorten their connection attempts.
So what
Do not use connect_timeout to bound WAL receiver connection attempts. Configure operating-system connection retry limits when that bound is required.
Charitable reading
The sentence promises acceptance, not that every accepted option controls the receiver.

Source

Source · REL_13_23 · doc/src/sgml/libpq.sgml:473-485The <literal>connect_timeout</literal> connection parameter is ignored when using <function>PQconnectPoll</function>; it is the application's responsibility to decide whether an excessive amount of time has elapsed.

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)…anything libpq accepts is accepted here: sslmode , connect_timeout , tcp_user_timeout , and options…
All sources and excerpts · 3
Evidence The <literal>connect_timeout</literal> connection parameter is ignored when using <function>PQconnectPoll</function>; it is the application's responsibility to decide whether an excessive amount of time has elapsed.
Evidence /* If socket is ready, advance the libpq state machine */ if (rc & io_flag) status = PQconnectPoll(conn->streamConn); } while (status != PGRES_POLLING_OK && status != PGRES_POLLING_FAILED);
Evidence /* If socket is ready, advance the libpq state machine */ if (rc & io_flag) status = PQconnectPoll(conn);

Version note: PostgreSQL 18 uses the shared asynchronous connection helper.

How the review tested this

Review: We distinguished accepting connect_timeout from enforcing it. PQconnectPoll and the receiver loops support the limitation. Note severity preserves that charitable reading. We distinguished accepting connect_timeout from enforcing it. Both connection loops use PQconnectPoll without a deadline. The note preserves that distinction.

F11

A named slot suppresses temporary-slot-only receiver restarts

NOTEholds up after review

Claim ledger

Article says
…or wal_receiver_create_temp_slot ) and reloading makes the startup process terminate the walreceiver…
What is true
Changing wal_receiver_create_temp_slot alone does not restart a receiver with primary_slot_name configured. src/backend/postmaster/startup.c:142 tests for an empty slot name before tracking that change. The PostgreSQL 13 documentation also gives the broader restart description.
So what
Clear primary_slot_name before expecting wal_receiver_create_temp_slot to select a temporary slot.
Charitable reading
The PostgreSQL 13 documentation repeats the same general restart description.

Source

Source · REL_13_23 · src/backend/postmaster/startup.c:132-149if (!slotnameChanged && strcmp(PrimarySlotName, "") == 0) tempSlotChanged = tempSlot != wal_receiver_create_temp_slot; pfree(conninfo); pfree(slotname); if (conninfoChanged || slotnameChanged || tempSlotChanged) StartupRequestWalReceiverRestart();

Not graded: no reader would act differently on it.

In the article · section “What the walreceiver hands to libpq”

In the article

excerpt · section “What the walreceiver hands to libpq” · as fetched 2026-10-21 · open in article ↗ (opens in new tab)

What the walreceiver hands to libpq

Since 13, changing the string (or primary_slot_name , or wal_receiver_create_temp_slot ) and reloading makes the startup process terminate the walreceiver and start another with the new value:

All sources and excerpts · 2
Evidence if (!slotnameChanged && strcmp(PrimarySlotName, "") == 0) tempSlotChanged = tempSlot != wal_receiver_create_temp_slot; pfree(conninfo); pfree(slotname); if (conninfoChanged || slotnameChanged || tempSlotChanged) StartupRequestWalReceiverRestart();
Evidence If this parameter is changed while the WAL receiver process is running, that process is signaled to shut down and expected to restart with the new setting.
How the review tested this

Review: We checked whether the exception also applies when the slot name changes. The finding correctly restricts it to temporary-slot-only changes. Note severity acknowledges the documentation. We checked simultaneous setting changes and documentation fairness. The exception concerns temporary-slot-only changes. The note acknowledges the documentation's broader description.

More in this report

Section checks · 6 sections

Section checks

AspectGradeFindingsCoverage
Standby configurationA3 verified-accurate100% of claims (9 of 9, plus 7 that need data we do not have)
Connection constructionA4 verified-accurate100% of claims (13 of 13, plus 5 that need data we do not have)
WAL retrieval and reloadA2 verified-accurate100% of claims (16 of 16, plus 11 that need data we do not have)
Password exposureA4 verified-accurate92% of claims (12 of 13, plus 9 that need data we do not have)
Inherited backup settingsA2 verified-accurate100% of claims (7 of 7, plus 9 that need data we do not have)
Following the primaryA-1 recipe error (fails loudly) · 1 verified-accurate100% of claims (9 of 9, plus 15 that need data we do not have)
Coverage and assessment · Checked 66 of 67 Postgres claims across 6 sections

A — the findings address the article's main subject. What we did not check is listed below. Source checks directly test primary_conninfo activation, connection options, reloads, password exposure, slot inheritance, and upstream compatibility.

We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.

What we did not check

  • We did not reproduce the measurements or connection transcripts the article displays.
  • We did not confirm the original page's code-block line breaks.
  • We did not check every password-input path used by pg_basebackup.
  • We did not verify the version boundaries for PostgreSQL 9.0, 10, 12, 14, 17, or 18.
  • We did not verify the documentation examples for wal_sender_timeout or inline passwords.
  • We did not check the password exposure, settings permissions, or inherited backup configuration claims.
  • We did not verify multi-host reconnection, target_session_attrs compatibility, or timeline following.
  • We did not reproduce the measurements or verify the displayed logs.
  • We did not establish whether the described behavior changed after October 14, 2026.
  • We did not verify the claimed 10 ms receiver replacement time or the 5 ms timeout test.
  • We did not verify the reported three-node failover outcome.
  • Factual: we did not complete every applicable check.
Checked 66 of 67 Postgres claims across 6 sections
  • Standby configuration: 9 of 9 Postgres claims checked, plus 7 that need data we do not have; not counted: 1 product or opinion, 2 not a claim
  • Connection construction: 13 of 13 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 not a claim
  • WAL retrieval and reload: 16 of 16 Postgres claims checked, plus 11 that need data we do not have; not counted: 1 product or opinion, 2 duplicate
  • Password exposure: 12 of 13 Postgres claims checked, plus 9 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 1 for other reasons
  • Inherited backup settings: 7 of 7 Postgres claims checked, plus 9 that need data we do not have; not counted: 2 product or opinion, 1 not a claim
  • Following the primary: 9 of 9 Postgres claims checked, plus 15 that need data we do not have; not counted: 3 duplicate, 2 not a claim

Average of 5 axes: 3.94 · 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 17 checked · 0 caveats. Applicable A · 0 wrong of 14 checked · 0 caveats. Consistent A · 0 wrong of 17 checked · 0 caveats. Transparent A · 0 wrong of 3 checked · 0 caveats. Safe A- · 1 wrong of 4 checked · 0 caveats. A 0 wrong of 17 checked · 0 caveatsFactual A0 wrong of 170 caveats A 0 wrong of 14 checked · 0 caveatsApplicable A0 wrong of 140 caveats A 0 wrong of 17 checked · 0 caveatsConsistent A0 wrong of 170 caveats A 0 wrong of 3 checked · 0 caveatsTransparent A0 wrong of 30 caveats A- 1 wrong of 4 checked · 0 caveatsSafe A-1 wrong of 40 caveats

By topic: Standby configuration — 3 findings, 0 wrong · Connection construction — 4 findings, 0 wrong · WAL retrieval and reload — 2 findings, 0 wrong · Password exposure — 4 findings, 0 wrong · Inherited backup settings — 2 findings, 0 wrong · Following the primary — 2 findings, 1 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 17 claims.

AxisLetterWrongCaveatsCheckedCoverage
FactualA0017partly assessed: A · 0 wrong of 17 checked · 0 caveats · partly assessed
ApplicableA0014assessed: A · 0 wrong of 14 checked · 0 caveats
ConsistentA0017assessed: A · 0 wrong of 17 checked · 0 caveats
TransparentA003assessed: A · 0 wrong of 3 checked · 0 caveats
SafeA-104assessed: A- · 1 wrong of 4 checked · 0 caveats
Topics · 6 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
Standby configuration0 issues 3 checked F3 F15 F170 issues 3 checked0 issues 3 checked0 issues 1 checked
Connection construction0 issues 4 checked F4 F10 F12 F180 issues 3 checked0 issues 4 checked
WAL retrieval and reload0 issues 2 checked F5 F60 issues 2 checked0 issues 2 checked
Password exposure0 issues 4 checked F7 F13 F16 F190 issues 4 checked0 issues 4 checked0 issues 2 checked
Inherited backup settings0 issues 2 checked F8 F140 issues 1 checked0 issues 2 checked
Following the primary0 issues 2 checked F90 issues 1 checked0 issues 2 checked1 issue 1 checked F1

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

Revisions: 6 · A -> A -> A -> A -> A -> A

We audited this article 6 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-16 12:18 UTC · A · audited with v1.0.8 (approx.)

    Article as first submitted. 14 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A.

    Changes: First audit. Open: none.

  2. Revision 2 · 2026-10-18 17:54 UTC · A · audited with v1.0.11 (approx.)

    Same article text, re-audited. 16 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A. Open: the benchmark cannot yet be rerun from what is published.

    Changes: No change in findings.

  3. Revision 3 · 2026-10-18 21:51 UTC · A · audited with v1.0.12 (approx.)

    Same article text, re-audited. 15 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A.

    Changes: No change in findings.

  4. Revision 4 · 2026-10-19 03:27 UTC · A · audited with v1.0.13 (approx.)

    Same article text, re-audited. 21 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A.

    Changes: No change in findings.

  5. Revision 5 · 2026-10-19 21:32 UTC · A · audited with v1.0.16 (approx.)

    Same article text, re-audited. 12 accurate · 0 wrong · 0 caveats.

    ElephantSeal: A.

    Changes: No change in findings.

  6. Revision 6 · this page · 2026-10-21 03:56 UTC · A · audited with v1.0.17 (approx.) · regraded with v1.1.0 (approx.)

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

    ElephantSeal: A.

    Changes: No longer reported: none. New: F1 “The displayed multi-host configuration contains invalid literal newlines” (recipe error).

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: All Your GUCs in a Row: primary_conninfo

Article title: All Your GUCs in a Row: primary_conninfo
Article URL: https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo
Report URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3
Audited revision: 6 of 6, 2026-10-21 03:56:11 UTC
Overall letter: A

## Axes

- Factual: A · 0 wrong · 17 checked · 0 caveats · partly assessed
- Applicable: A · 0 wrong · 14 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 17 checked · 0 caveats · assessed
- Transparent: A · 0 wrong · 3 checked · 0 caveats · assessed
- Safe: A- · 1 wrong · 4 checked · 0 caveats · assessed

ElephantSeal: A.

## Report metadata

- Report: Technical fact-check, edition 3
- Issued: 2026-10-21
- 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.17 (approx.) · regraded with v1.1.0 (approx.)

## Findings needing a change (1)

### F1 · Recipe Error · Safe · The displayed multi-host configuration contains invalid literal newlines
Location: excerpt · section “Following the primary” · as fetched 2026-10-21 · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=primary_conninfo%20%3D%20%27host%3Dnode1%2Cnode2%2Cnode3%20port%3D5432%20user%3Dreplicator%20passfile%3D%2Fvar%2Flib%2Fpostgresql%2F.pgpass%20target_session_attrs%3Dread%2Dwrite%27)
Article says:
```text
…primary_conninfo = 'host=node1,node2,node3 port=5432 user=replicator
passfile=/var/lib/postgresql/.pgpass
target_session_attrs=read-write'…
```
What is true:
The displayed three-line assignment is invalid in postgresql.conf. src/backend/utils/misc/guc-file.l:92 excludes newlines from quoted strings. PostgreSQL 18 retains that restriction at line 89. Put the assignment on one physical line. Copying these literal line breaks into a new standby's configuration prevents startup.
So what:
Put the entire primary_conninfo assignment on one physical line in postgresql.conf before starting the standby.
Charitable reading:
The line breaks may serve readability. The displayed configuration provides no continuation syntax.
Review: We tested the readability interpretation against both lexer versions. Both reject literal newlines inside this quoted configuration value. The finding explicitly limits its charge to copying those displayed line breaks. We tested the readability interpretation. Both parser versions exclude literal newlines from quoted values. The finding explicitly concerns copying the displayed assignment.

Sources:
- [REL_13_23 · src/backend/utils/misc/guc-file.l:90-108](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc-file.l#L90-L108)
  Excerpt:
  ```text
  STRING			\'([^'\\\n]|\\.|\'\')*\'
  ```
- [REL_18_0 · src/backend/utils/misc/guc-file.l:88-105](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/backend/utils/misc/guc-file.l#L88-L105)
  Qualification: Version note: Also checked PostgreSQL 18, which the article discusses.
  Excerpt:
  ```text
  STRING			\'([^'\\\n]|\\.|\'\')*\'
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F1

## Verified accurate claims (16)

### F3 · Accurate · Factual · primary_conninfo does not enable standby mode
Location: excerpt · section “All Your GUCs in a Row: primary_conninfo” · as fetched 2026-10-21 · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=primary_conninfo%20does%20not%20make%20a%20server%20a%20standby.)
Article says:
```text
…primary_conninfo does not make a server a standby.
```
What is true:
standby.signal enables standby mode in src/backend/access/transam/xlog.c:5512. recovery.signal enables archive recovery without standby mode. primary_conninfo supplies the sending-server connection after standby mode is selected.
Charitable reading:
The claim concerns PostgreSQL 12 and later signal-file recovery.
Review: We checked whether recovery.signal also enables standby mode. Its branch explicitly leaves StandbyModeRequested false. The narrower accuracy finding stands. We checked whether recovery.signal also selects standby mode. Its branch explicitly disables standby mode. standby.signal selects it independently of primary_conninfo.

Sources:
- [REL_13_23 · doc/src/sgml/config.sgml:4249-4290](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L4249-L4290)
  Excerpt:
  ```text
  Specifies a connection string to be used for the standby server
          to connect with a sending server. This string is in the format
          described in <xref linkend="libpq-connstring"/>. If any option is
          unspecified in this string, then the corresponding environment
          variable (see <xref linkend="libpq-envars"/>) is checked. If the
          environment variable is not set either, then
          defaults are used.
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:3793-3801](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3793-L3801)
  Excerpt:
  ```text
  {"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY,
			gettext_noop("Sets the connection string to be used to connect to the sending server."),
			NULL,
			GUC_SUPERUSER_ONLY
		},
		&PrimaryConnInfo,
		"",
		NULL, NULL, NULL
	},
  ```
- [REL_13_23 · src/backend/access/transam/xlog.c:5508-5526](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/access/transam/xlog.c#L5508-L5526)
  Excerpt:
  ```text
  if (standby_signal_file_found)
	{
		StandbyModeRequested = true;
		ArchiveRecoveryRequested = true;
	}
	else if (recovery_signal_file_found)
	{
		StandbyModeRequested = false;
		ArchiveRecoveryRequested = true;
	}
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F3

### F4 · Accurate · Factual · Physical receivers use replication for password-file database matching
Location: excerpt · section “What the walreceiver hands to libpq” · as fetched 2026-10-21 · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=dbname%3Dreplication)
Article says:
```text
…dbname=replication…
```
What is true:
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:148 overrides dbname with replication for physical connections. The same routine forces replication=true. Its comment identifies password-file lookup as the reason for the database override.
Charitable reading:
The article describes physical WAL receiver connections, not logical replication connections.
Review: We checked the logical-connection exception and option ordering. The physical branch appends dbname=replication after the expanded connection string. We tested the logical-connection exception. The finding correctly limits itself to physical connections, where dbname=replication follows the expanded connection string.

Sources:
- [REL_13_23 · src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:125-170](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c#L125-L170)
  Excerpt:
  ```text
  keys[i] = "dbname";
	vals[i] = conninfo;
	keys[++i] = "replication";
	vals[i] = logical ? "database" : "true";
	if (!logical)
	{
		/*
		 * The database name is ignored by the server in replication mode, but
		 * specify "replication" for .pgpass lookup.
		 */
		keys[++i] = "dbname";
		vals[i] = "replication";
	}
  ```
- [REL_13_23 · src/interfaces/libpq/fe-connect.c:1195-1245](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/interfaces/libpq/fe-connect.c#L1195-L1245)
  Excerpt:
  ```text
  snprintf(conn->pgpassfile, MAXPGPATH, "%s/%s",
						 homedir, PGPASSFILE);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F4

### F5 · Accurate · Factual · WAL retrieval retries follow the documented source sequence
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=wal_retrieve_retry_interval%20%28five%20seconds%29)
Article says:
```text
…wal_retrieve_retry_interval (five seconds)…
```
What is true:
src/backend/access/transam/xlog.c:12511 describes archive and local WAL checks before streaming. Recovery returns to those sources after streaming fails. wal_retrieve_retry_interval defaults to 5,000 milliseconds.
Charitable reading:
The five-second description assumes the default retry interval and promptly failing attempts.
Review: We tested whether five seconds denotes a connection deadline. The finding correctly describes the retry setting and source sequence. It does not guarantee five-second completion. We tested whether five seconds guarantees attempt duration. The finding verifies source order and the default interval, without claiming that guarantee.

Sources:
- [REL_13_23 · src/backend/access/transam/xlog.c:12508-12522](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/access/transam/xlog.c#L12508-L12522)
  Excerpt:
  ```text
  * 1. Read from either archive or pg_wal (XLOG_FROM_ARCHIVE), or just
	 *	  pg_wal (XLOG_FROM_PG_WAL)
	 * 2. Check trigger file
	 * 3. Read from primary server via walreceiver (XLOG_FROM_STREAM)
	 * 4. Rescan timelines
	 * 5. Sleep wal_retrieve_retry_interval milliseconds, and loop back to 1.
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:3104-3113](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3104-L3113)
  Excerpt:
  ```text
  &wal_retrieve_retry_interval,
		5000, 1, INT_MAX,
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:3108-3111](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3108-L3111)
  Qualification: Version note: PostgreSQL 13.23 setting definition.
  Excerpt:
  ```text
  GUC_UNIT_MS
		},
		&wal_retrieve_retry_interval,
		5000, 1, INT_MAX,
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:3104-3113](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3104-L3113)
  Excerpt:
  ```text
  {"wal_retrieve_retry_interval", PGC_SIGHUP, REPLICATION_STANDBY,
			gettext_noop("Sets the time to wait before retrying to retrieve WAL "
						 "after a failed attempt."),
			NULL,
			GUC_UNIT_MS
		},
		&wal_retrieve_retry_interval,
		5000, 1, INT_MAX,
		NULL, NULL, NULL
	},
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F5

### F6 · Accurate · Factual · Reloading an empty primary_conninfo disables streaming
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=set%20it%20to%20the%20empty%20string%20and%20reload)
Article says:
```text
…set it to the empty string and reload…
```
What is true:
Configuration reload requests receiver restart when primary_conninfo changes. src/backend/access/transam/xlog.c:12779 starts a replacement only when the string is nonempty. PostgreSQL 13 supports this reload. PostgreSQL 12 requires restart.
Charitable reading:
The instruction changes primary_conninfo on an existing standby and reloads its configuration.
Review: We checked both restart triggering and replacement suppression. The empty-string guard prevents replacement. PostgreSQL 12 and 13 setting contexts support the version distinction. We checked shutdown and replacement separately. Reload requests restart, but an empty string blocks replacement. PostgreSQL 12 uses postmaster context.

Sources:
- [REL_13_23 · src/backend/utils/misc/guc.c:3793-3801](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3793-L3801)
  Excerpt:
  ```text
  {"primary_conninfo", PGC_SIGHUP, REPLICATION_STANDBY,
			gettext_noop("Sets the connection string to be used to connect to the sending server."),
			NULL,
			GUC_SUPERUSER_ONLY
		},
		&PrimaryConnInfo,
		"",
		NULL, NULL, NULL
	},
  ```
- [REL_13_23 · src/backend/postmaster/startup.c:132-149](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/postmaster/startup.c#L132-L149)
  Excerpt:
  ```text
  if (!slotnameChanged && strcmp(PrimarySlotName, "") == 0)
		tempSlotChanged = tempSlot != wal_receiver_create_temp_slot;
	pfree(conninfo);
	pfree(slotname);

	if (conninfoChanged || slotnameChanged || tempSlotChanged)
		StartupRequestWalReceiverRestart();
  ```
- [REL_13_23 · src/backend/access/transam/xlog.c:12748-12780](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/access/transam/xlog.c#L12748-L12780)
  Excerpt:
  ```text
  if (startWalReceiver &&
						PrimaryConnInfo && strcmp(PrimaryConnInfo, "") != 0)
  ```
- [REL_12_0 · src/backend/utils/misc/guc.c:3561-3570](https://github.com/postgres/postgres/blob/ad1f2885b8c82e0c2d56d7974f012cbecce17a17/src/backend/utils/misc/guc.c#L3561-L3570)
  Qualification: Version note: PostgreSQL 12 requires restart for this setting.
  Excerpt:
  ```text
  {"primary_conninfo", PGC_POSTMASTER, REPLICATION_STANDBY,
  ```
- [REL_13_23 · doc/src/sgml/config.sgml:4283-4286](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L4283-L4286)
  Qualification: Version note: PostgreSQL 13.23 documentation excerpt.
  Excerpt:
  ```text
  If this parameter is changed while the WAL receiver process is
          running, that process is signaled to shut down and expected to
          restart with the new setting (except if <varname>primary_conninfo</varname>
          is an empty string).
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F6

### F7 · Accurate · Factual · Configuration-change logging exposes inline connection passwords
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=with%20the%20complete%20value%2C%20every,a%20reload%20changes%20the%20parameter)
Article says:
```text
…with the complete value, every time a reload changes the parameter…
```
What is true:
src/backend/utils/misc/guc-file.l:456 logs the changed configuration value without redaction. The postmaster uses LOG severity for this message. The default log_min_messages value is WARNING, which includes LOG messages.
Charitable reading:
The claim concerns a changed value successfully applied during configuration reload.
Review: We checked the logging condition for successful reloads and possible redaction. The postmaster logs item-\>value directly when its effective value changes. We checked for redaction and logging conditions. A successful changed value reaches the postmaster's LOG message through item-\>value without redaction.

Sources:
- [REL_13_23 · src/backend/utils/misc/guc-file.l:430-460](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc-file.l#L430-L460)
  Excerpt:
  ```text
  if (strcmp(pre_value, post_value) != 0)
					ereport(elevel,
							(errmsg("parameter \"%s\" changed to \"%s\"",
									item->name, item->value)));
  ```
- [REL_13_23 · src/backend/utils/misc/guc-file.l:132-142](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc-file.l#L132-L142)
  Excerpt:
  ```text
  elevel = IsUnderPostmaster ? DEBUG2 : LOG;
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:4552-4560](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L4552-L4560)
  Excerpt:
  ```text
  &log_min_messages,
		WARNING, server_message_level_options,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F7

### F8 · Accurate · Factual · pg_basebackup preserves inherited slot settings unless it overrides them
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=pg_basebackup%20%2DR%20appends%20to%20postgresql.auto.conf)
Article says:
```text
…pg_basebackup -R appends to postgresql.auto.conf…
```
What is true:
src/fe_utils/recovery_gen.c:131 opens postgresql.auto.conf in append mode. The generator writes primary_slot_name only when it receives a replication-slot argument. Existing slot settings can therefore remain effective in a clone. Later primary_conninfo entries override earlier entries.
Charitable reading:
The article describes PostgreSQL 12 and later postgresql.auto.conf recovery configuration.
Review: We checked whether backup exclusions remove postgresql.auto.conf and whether slot output is unconditional. Only its temporary file is excluded. Slot output requires replication_slot. We tested whether recovery generation clears inherited settings. Append mode preserves them. The generator writes primary_slot_name only when it receives a slot argument.

Sources:
- [REL_13_23 · src/fe_utils/recovery_gen.c:20-160](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/fe_utils/recovery_gen.c#L20-L160)
  Excerpt:
  ```text
  snprintf(filename, MAXPGPATH, "%s/%s", target_dir,
			 use_recovery_conf ? "recovery.conf" : "postgresql.auto.conf");

	cf = fopen(filename, use_recovery_conf ? "w" : "a");
  ```
- [REL_13_23 · src/fe_utils/recovery_gen.c:20-160](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/fe_utils/recovery_gen.c#L20-L160)
  Excerpt:
  ```text
  if (replication_slot)
	{
		/* unescaped: ReplicationSlotValidateName allows [a-z0-9_] only */
		appendPQExpBuffer(contents, "primary_slot_name = '%s'\n",
						  replication_slot);
	}
  ```
- [REL_13_23 · src/fe_utils/recovery_gen.c:20-160](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/fe_utils/recovery_gen.c#L20-L160)
  Excerpt:
  ```text
  /* Omit empty settings and those libpqwalreceiver overrides. */
		if (strcmp(opt->keyword, "replication") == 0 ||
			strcmp(opt->keyword, "dbname") == 0 ||
			strcmp(opt->keyword, "fallback_application_name") == 0 ||
			(opt->val == NULL) ||
			(opt->val != NULL && opt->val[0] == '\0'))
			continue;
  ```
- [REL_13_23 · doc/src/sgml/config.sgml:146-159](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L146-L159)
  Excerpt:
  ```text
  identifiers or numbers must be single-quoted.  To embed a single
     quote in a parameter value, write either two quotes (preferred)
     or backslash-quote.
     If the file contains multiple entries for the same parameter,
     all but the last one are ignored.
  ```
- [REL_13_23 · src/backend/replication/basebackup.c:202-240](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/basebackup.c#L202-L240)
  Excerpt:
  ```text
  /* Skip auto conf temporary file. */
	{PG_AUTOCONF_FILENAME ".tmp", false},
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F8

### F9 · Accurate · Factual · The primary selection restriction holds for older physical replication upstreams
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=it%20needs%20the%20upstream%20to%20report%20in_hot_standby)
Article says:
```text
…it needs the upstream to report in_hot_standby…
```
What is true:
PostgreSQL 14 libpq falls back to SELECT pg_catalog.pg_is_in_recovery() when in_hot_standby is unavailable. Physical replication senders reject that SQL. read-write instead uses SHOW transaction_read_only, which the replication protocol supports.
Charitable reading:
The upstream-version restriction applies to physical replication connections. Ordinary database connections can use the SQL fallback.
Review: We tried the SQL fallback as a counterexample. Physical replication rejects that query, so ordinary database connections do not refute this scoped finding. We tested libpq's SQL fallback as a counterexample. Physical senders reject that fallback. The finding correctly excludes ordinary database connections.

Sources:
- [REL_14_0 · src/interfaces/libpq/fe-connect.c:3597-3638](https://github.com/postgres/postgres/blob/86a4dc1e6f29d1992a2afa3fac1a0b0a6e84568c/src/interfaces/libpq/fe-connect.c#L3597-L3638)
  Qualification: Version note: Checked the article's PostgreSQL 14 version floor.
  Excerpt:
  ```text
  * If the server didn't report "in_hot_standby" at
					 * startup, we must determine its state by sending the
					 * query "SELECT pg_catalog.pg_is_in_recovery()".  Servers
  ```
- [REL_13_23 · src/backend/replication/walsender.c:1570-1625](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/walsender.c#L1570-L1625)
  Excerpt:
  ```text
  if (MyDatabaseId == InvalidOid)
			ereport(ERROR,
					(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
					 errmsg("cannot execute SQL commands in WAL sender for physical replication")));
  ```
- [REL_13_23 · doc/src/sgml/libpq.sgml:1844-1860](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/libpq.sgml#L1844-L1860)
  Excerpt:
  ```text
  <literal>SHOW transaction_read_only</literal> will be sent upon any
        successful connection; if it returns <literal>on</literal>, the connection
        will be closed.  If multiple hosts were specified in the connection
        string, any remaining servers will be tried just as if the connection
        attempt had failed.  The default value of this parameter,
        <literal>any</literal>, regards all connections as acceptable.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F9

### F10 · Accurate · Factual · Slot synchronization requires an explicit database in primary_conninfo
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=the%20slot%2Dsynchronization%20worker%20needs%20an%20ordinary%20database%20to%20connect%20to)
Article says:
```text
…the slot-synchronization worker needs an ordinary database to connect to…
```
What is true:
PostgreSQL 17 checks primary_conninfo for dbname in src/backend/replication/logical/slotsync.c:1020. The worker errors when dbname is absent. The version-matched documentation distinguishes this database connection from physical streaming.
Charitable reading:
The article explicitly limits slot synchronization to PostgreSQL 17 and later.
Review: We checked the explicit PostgreSQL 17 scope rather than imposing PostgreSQL 13 behavior. The worker errors when its database name is absent. We checked the explicit PostgreSQL 17 scope. Its worker rejects missing dbname, and its documentation separates synchronization from physical streaming.

Sources:
- [REL_17_0 · src/backend/replication/logical/slotsync.c:1007-1032](https://github.com/postgres/postgres/blob/d7ec59a63d745ba74fba0e280bbf85dc6d1caa3e/src/backend/replication/logical/slotsync.c#L1007-L1032)
  Qualification: Version note: Checked PostgreSQL 17, the article's explicit version floor.
  Excerpt:
  ```text
  * The slot synchronization needs a database connection for walrcv_exec to
	 * work.
	 */
	dbname = walrcv_get_dbname_from_conninfo(PrimaryConnInfo);
	if (dbname == NULL)
		ereport(ERROR,
				errcode(ERRCODE_INVALID_PARAMETER_VALUE),
  ```
- [REL_17_0 · doc/src/sgml/config.sgml:4809-4818](https://github.com/postgres/postgres/blob/d7ec59a63d745ba74fba0e280bbf85dc6d1caa3e/doc/src/sgml/config.sgml#L4809-L4818)
  Qualification: Version note: The PostgreSQL 13 snapshot predates this explicitly versioned feature.
  Excerpt:
  ```text
  it is also necessary to specify a valid <literal>dbname</literal>
          in the <varname>primary_conninfo</varname> string. This will only be
          used for slot synchronization. It is ignored for streaming.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F10

### F12 · Accurate · Factual · The sender-timeout options example uses valid configuration quoting
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=options%3D%27%27%2Dc%20wal_sender_timeout%3D5000%27%27)
Article says:
```text
…options=''-c wal_sender_timeout=5000''…
```
What is true:
doc/src/sgml/high-availability.sgml:752 contains the same options value and doubled quotes. wal_sender_timeout has PGC_USERSET context and millisecond units. The receiver can supply that upstream session setting through libpq options.
Charitable reading:
The doubled quotes occur inside an outer quoted PostgreSQL configuration value.
Review: We tested the doubled quotes under the stated outer configuration quoting. The documented example and PGC_USERSET definition support the finding. We tested the doubled quotes under the stated outer quoting. Configuration syntax permits them. wal_sender_timeout accepts session changes and uses milliseconds.

Sources:
- [REL_13_23 · doc/src/sgml/high-availability.sgml:746-755](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/high-availability.sgml#L746-L755)
  Excerpt:
  ```text
  primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
  ```
- [REL_13_23 · src/backend/utils/misc/guc.c:2795-2803](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L2795-L2803)
  Excerpt:
  ```text
  {"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING,
			gettext_noop("Sets the maximum time to wait for WAL replication."),
			NULL,
			GUC_UNIT_MS
  ```
- [REL_13_23 · doc/src/sgml/config.sgml:146-159](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L146-L159)
  Excerpt:
  ```text
  identifiers or numbers must be single-quoted.  To embed a single
     quote in a parameter value, write either two quotes (preferred)
     or backslash-quote.
     If the file contains multiple entries for the same parameter,
     all but the last one are ignored.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F12

### F13 · Accurate · Factual · Verified accurate: “…password=\*\*\*\*\*\*\*\*…”
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=password%3D%2A%2A%2A%2A%2A%2A%2A%2A)
Article says:
```text
…password=********…
```
What is true:
libpqrcv_get_conninfo reads live connection options. src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:300 identifies security-sensitive options, which the formatter replaces with eight asterisks. src/backend/replication/walreceiver.c:305 obtains that string and copies it into walrcv-\>conninfo.
Review: We checked whether the cited ranges establish masking, storage, and display. They establish masking and storage. Neither shows the statistics-view implementation.

Sources:
- [REL_13_23 · src/backend/replication/walreceiver.c:290-312](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/walreceiver.c#L290-L312)
  Excerpt:
  ```text
  wrconn = walrcv_connect(conninfo, false, cluster_name[0] ? cluster_name : "walreceiver", &err);
  ```
- [REL_13_23 · src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:281-308](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c#L281-L308)
  Excerpt:
  ```text
  /* Obfuscate security-sensitive options */
		obfuscate = strchr(conn_opt->dispchar, '*') != NULL;

		appendPQExpBuffer(&buf, "%s%s=%s",
						  buf.len == 0 ? "" : " ",
						  conn_opt->keyword,
						  obfuscate ? "********" : conn_opt->val);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F13

### F14 · Accurate · Factual · Two active receivers cannot share one physical replication slot
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=a%20slot%20is%20held%20by%20one%20walsender%20at%20a%20time)
Article says:
```text
…a slot is held by one walsender at a time…
```
What is true:
src/backend/replication/slot.c:469 detects ownership by another process. Slot acquisition then reports the active owner's PID. Clones that inherit a sibling's slot name can encounter the contention described in the article.
Charitable reading:
The claim concerns concurrent active use, not creating multiple distinct slots.
Review: We distinguished sequential reuse from simultaneous ownership. Acquisition rejects another active owner. The finding claims contention, not permanent ownership. We distinguished concurrent ownership from later reuse. Slot acquisition detects another owner and reports its PID. The finding concerns concurrent use.

Sources:
- [REL_13_23 · src/backend/replication/slot.c:450-478](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/slot.c#L450-L478)
  Excerpt:
  ```text
  if (active_pid != MyProcPid)
	{
		if (behavior == SAB_Error)
			ereport(ERROR,
					(errcode(ERRCODE_OBJECT_IN_USE),
					 errmsg("replication slot \"%s\" is active for PID %d",
							NameStr(s->data.name), active_pid)));
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F14

### F15 · Accurate · Factual · primary_conninfo affects standby operation
Location: excerpt · section “All Your GUCs in a Row: primary_conninfo” · as fetched 2026-10-21 · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=outside%20that%20situation%20it%20is%20inert)
Article says:
```text
…outside that situation it is inert…
```
What is true:
PostgreSQL 13.23 documents no effect outside standby mode. See doc/src/sgml/config.sgml:4287.
Charitable reading:
The claim concerns primary_conninfo during server operation, excluding later copying into another server's configuration.
Review: We tested whether later copying configuration contradicts operational inertness. The finding excludes that separate operation and matches the documentation. We tested inherited configuration as a counterexample. That affects a later standby. The documentation directly supports the finding's operational scope.

Sources:
- [REL_13_23 · doc/src/sgml/config.sgml:4287-4287](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L4287-L4287)
  Qualification: Version note: PostgreSQL 13.23 documentation excerpt.
  Excerpt:
  ```text
  This setting has no effect if the server is not in standby mode.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F15

### F16 · Accurate · Factual · Standby password-file entries use replication
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=A%20.pgpass%20line%20with%20app,never%20match%20a%20walreceiver%20connection)
Article says:
```text
A .pgpass line with app or postgres in the database column will never match a walreceiver connection…
```
What is true:
PostgreSQL 13.23 specifies replication as the standby password-file database name. See doc/src/sgml/config.sgml:4275.
Charitable reading:
The claim concerns physical WAL receiver authentication, excluding ordinary database connections.
Review: We checked the physical-receiver scope and wildcard alternative. Neither permits app or postgres to match the replication database name. We checked the physical-authentication scope. The documentation specifies replication for the password-file database field. The finding does not exclude wildcard entries.

Sources:
- [REL_13_23 · doc/src/sgml/config.sgml:4275-4276](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L4275-L4276)
  Qualification: Version note: PostgreSQL 13.23 documentation excerpt.
  Excerpt:
  ```text
  <filename>~/.pgpass</filename> file on the standby server (use
          <literal>replication</literal> as the database name).
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F16

### F17 · Accurate · Factual · primary_conninfo defaults to an empty string
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=The%20default%20is%20the%20empty%20string.)
Article says:
```text
The default is the empty string.
```
What is true:
PostgreSQL 13.23 initializes PrimaryConnInfo to an empty string. See src/backend/utils/misc/guc.c:3798.
Charitable reading:
The claim describes the compiled default before configuration overrides.
Review: We distinguished the compiled default from configured values. PrimaryConnInfo has the empty-string default shown in the finding. We distinguished the compiled default from configured values. The setting definition initializes PrimaryConnInfo to an empty string.

Sources:
- [REL_13_23 · src/backend/utils/misc/guc.c:3798-3799](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L3798-L3799)
  Qualification: Version note: PostgreSQL 13.23 setting definition.
  Excerpt:
  ```text
  &PrimaryConnInfo,
		"",
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F17

### F18 · Accurate · Factual · wal_sender_timeout=5 specifies 5 ms
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=5%20%2C%20five%20milliseconds)
Article says:
```text
…5 , five milliseconds…
```
What is true:
PostgreSQL 13.23 marks wal_sender_timeout with GUC_UNIT_MS in src/backend/utils/misc/guc.c:2795. A unitless value of 5 means 5 ms.
Charitable reading:
The sentence reports one test. We verified its unit conversion without treating its timing as a general guarantee.
Review: We checked whether the finding endorses the reported timing. It verifies only the unit conversion. GUC_UNIT_MS supports 5 ms. We tested whether this finding endorses the measured termination time. It verifies only the unit conversion. GUC_UNIT_MS supports that narrower claim.

Sources:
- [REL_13_23 · src/backend/utils/misc/guc.c:2795-2803](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/utils/misc/guc.c#L2795-L2803)
  Excerpt:
  ```text
  {"wal_sender_timeout", PGC_USERSET, REPLICATION_SENDING,
			gettext_noop("Sets the maximum time to wait for WAL replication."),
			NULL,
			GUC_UNIT_MS
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F18

### F19 · Accurate · Factual · The documentation contains three inline password examples
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=password%3Dfoopass%20inline%2C%20three%20times%20on%20one%20page)
Article says:
```text
…password=foopass inline, three times on one page…
```
What is true:
PostgreSQL 13.23 includes password=foopass in three primary_conninfo examples. They appear in doc/src/sgml/high-availability.sgml:752, 883, and 995.
Charitable reading:
The count concerns documentation examples. It does not claim that inline passwords are required.
Review: We checked whether identical example text inflated the count. Three distinct source lines contain password=foopass. The finding correctly counts occurrences. We checked whether duplicate text inflated the count. The examples occupy three distinct source lines, despite two containing identical text.

Sources:
- [REL_13_23 · doc/src/sgml/high-availability.sgml:752-752](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/high-availability.sgml#L752-L752)
  Excerpt:
  ```text
  primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass options=''-c wal_sender_timeout=5000'''
  ```
- [REL_13_23 · doc/src/sgml/high-availability.sgml:883-883](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/high-availability.sgml#L883-L883)
  Excerpt:
  ```text
  primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
  ```
- [REL_13_23 · doc/src/sgml/high-availability.sgml:995-995](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/high-availability.sgml#L995-L995)
  Excerpt:
  ```text
  primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F19

## Notes (not graded) (2)

### F2 · Note ·  · connect_timeout parses but does not limit receiver connection attempts
Location: Article · exact quote · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=anything%20libpq%20accepts%20is%20accepted,%2C%20tcp_user_timeout%20%2C%20and%20options)
Article says:
```text
…anything libpq accepts is accepted here: sslmode , connect_timeout , tcp_user_timeout , and options…
```
What is true:
The receiver accepts connect_timeout but ignores its deadline. doc/src/sgml/libpq.sgml:478 documents that PQconnectPoll ignores this parameter. PostgreSQL 13 and 18 receiver connection loops use that interface. Setting connect_timeout does not shorten their connection attempts.
So what:
Do not use connect_timeout to bound WAL receiver connection attempts. Configure operating-system connection retry limits when that bound is required.
Charitable reading:
The sentence promises acceptance, not that every accepted option controls the receiver.
Explanation: Not graded: no reader would act differently on it.
Review: We distinguished accepting connect_timeout from enforcing it. PQconnectPoll and the receiver loops support the limitation. Note severity preserves that charitable reading. We distinguished accepting connect_timeout from enforcing it. Both connection loops use PQconnectPoll without a deadline. The note preserves that distinction.

Sources:
- [REL_13_23 · doc/src/sgml/libpq.sgml:473-485](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/libpq.sgml#L473-L485)
  Excerpt:
  ```text
  The <literal>connect_timeout</literal> connection parameter is ignored
       when using <function>PQconnectPoll</function>; it is the application's
       responsibility to decide whether an excessive amount of time has elapsed.
  ```
- [REL_13_23 · src/backend/replication/libpqwalreceiver/libpqwalreceiver.c:169-210](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c#L169-L210)
  Excerpt:
  ```text
  /* If socket is ready, advance the libpq state machine */
		if (rc & io_flag)
			status = PQconnectPoll(conn->streamConn);
	} while (status != PGRES_POLLING_OK && status != PGRES_POLLING_FAILED);
  ```
- [REL_18_0 · src/include/libpq/libpq-be-fe-helpers.h:201-229](https://github.com/postgres/postgres/blob/3d6a828938a5fa0444275d3d2f67b64ec3199eb7/src/include/libpq/libpq-be-fe-helpers.h#L201-L229)
  Qualification: Version note: PostgreSQL 18 uses the shared asynchronous connection helper.
  Excerpt:
  ```text
  /* If socket is ready, advance the libpq state machine */
			if (rc & io_flag)
				status = PQconnectPoll(conn);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F2

### F11 · Note ·  · A named slot suppresses temporary-slot-only receiver restarts
Location: excerpt · section “What the walreceiver hands to libpq” · as fetched 2026-10-21 · [open in article](https://thebuild.com/blog/all-your-gucs-in-a-row-primary_conninfo#:~:text=or%20wal_receiver_create_temp_slot%20%29%20and%20reloading,startup%20process%20terminate%20the%20walreceiver)
Article says:
```text
…or wal_receiver_create_temp_slot ) and reloading makes the startup process terminate the walreceiver…
```
What is true:
Changing wal_receiver_create_temp_slot alone does not restart a receiver with primary_slot_name configured. src/backend/postmaster/startup.c:142 tests for an empty slot name before tracking that change. The PostgreSQL 13 documentation also gives the broader restart description.
So what:
Clear primary_slot_name before expecting wal_receiver_create_temp_slot to select a temporary slot.
Charitable reading:
The PostgreSQL 13 documentation repeats the same general restart description.
Explanation: Not graded: no reader would act differently on it.
Review: We checked whether the exception also applies when the slot name changes. The finding correctly restricts it to temporary-slot-only changes. Note severity acknowledges the documentation. We checked simultaneous setting changes and documentation fairness. The exception concerns temporary-slot-only changes. The note acknowledges the documentation's broader description.

Sources:
- [REL_13_23 · src/backend/postmaster/startup.c:132-149](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/src/backend/postmaster/startup.c#L132-L149)
  Excerpt:
  ```text
  if (!slotnameChanged && strcmp(PrimarySlotName, "") == 0)
		tempSlotChanged = tempSlot != wal_receiver_create_temp_slot;
	pfree(conninfo);
	pfree(slotname);

	if (conninfoChanged || slotnameChanged || tempSlotChanged)
		StartupRequestWalReceiverRestart();
  ```
- [REL_13_23 · doc/src/sgml/config.sgml:4414-4432](https://github.com/postgres/postgres/blob/89df812eb890814b105d871185935b580478e660/doc/src/sgml/config.sgml#L4414-L4432)
  Excerpt:
  ```text
  If this parameter is changed while the WAL receiver process is running,
        that process is signaled to shut down and expected to restart with
        the new setting.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3#F11

## Withdrawn findings (0)

None.

## Section checks

- Standby configuration · A · 3 verified-accurate · 100% of claims (9 of 9, plus 7 that need data we do not have)
- Connection construction · A · 4 verified-accurate · 100% of claims (13 of 13, plus 5 that need data we do not have)
- WAL retrieval and reload · A · 2 verified-accurate · 100% of claims (16 of 16, plus 11 that need data we do not have)
- Password exposure · A · 4 verified-accurate · 92% of claims (12 of 13, plus 9 that need data we do not have)
- Inherited backup settings · A · 2 verified-accurate · 100% of claims (7 of 7, plus 9 that need data we do not have)
- Following the primary · A- · 1 recipe error (fails loudly) · 1 verified-accurate · 100% of claims (9 of 9, plus 15 that need data we do not have)

## Claim coverage

- Standby configuration: 9 of 9 Postgres claims checked, plus 7 that need data we do not have; not counted: 1 product or opinion, 2 not a claim
- Connection construction: 13 of 13 Postgres claims checked, plus 5 that need data we do not have; not counted: 1 not a claim
- WAL retrieval and reload: 16 of 16 Postgres claims checked, plus 11 that need data we do not have; not counted: 1 product or opinion, 2 duplicate
- Password exposure: 12 of 13 Postgres claims checked, plus 9 that need data we do not have; not counted: 2 product or opinion, 2 duplicate, 1 not a claim; not checked: 1 for other reasons
- Inherited backup settings: 7 of 7 Postgres claims checked, plus 9 that need data we do not have; not counted: 2 product or opinion, 1 not a claim
- Following the primary: 9 of 9 Postgres claims checked, plus 15 that need data we do not have; not counted: 3 duplicate, 2 not a claim

## What we did not check

- We did not reproduce the measurements or connection transcripts the article displays.
- We did not confirm the original page's code-block line breaks.
- We did not check every password-input path used by pg_basebackup.
- We did not verify the version boundaries for PostgreSQL 9.0, 10, 12, 14, 17, or 18.
- We did not verify the documentation examples for wal_sender_timeout or inline passwords.
- We did not check the password exposure, settings permissions, or inherited backup configuration claims.
- We did not verify multi-host reconnection, target_session_attrs compatibility, or timeline following.
- We did not reproduce the measurements or verify the displayed logs.
- We did not establish whether the described behavior changed after October 14, 2026.
- We did not verify the claimed 10 ms receiver replacement time or the 5 ms timeout test.
- We did not verify the reported three-node failover outcome.
- Factual: we did not complete every applicable check.

## Notes

- A — the findings address the article's main subject. What we did not check is listed below. Source checks directly test primary_conninfo activation, connection options, reloads, password exposure, slot inheritance, and upstream compatibility.
- We did not check everything in this article. What we did not check is listed below, in the words we recorded at the time. None of it moved the letter. We never charge our own limits to the article.
- Average of 5 axes: 3.94 · 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_13_23 at commit 89df812eb890814b105d871185935b580478e660 (pinned target); https://pgexperts.com/ (fetched 2026-10-21T03:56:32.859377Z); https://thebuild.com/blog/all-your-gucs-in-a-row-clustername/ (fetched 2026-10-21T03:56:30.170137Z); https://thebuild.com/blog/all-your-gucs-in-a-row-port/ (fetched 2026-10-21T03:56:31.500311Z); https://thebuild.com/blog/category/postgresql/ (fetched 2026-10-21T03:56:29.025524Z).
- Article captured 2026-10-21T03:56:11.860275Z · SHA-256 120007b07ca7c43e588264854e254429490b0fdba7e94f914bbd6ba8cdd7f567 · Text extracted from the article's HTML.
- Policy SHA-256 dee56326e6d8097900844313abe2fca63a85684ec3da925b929d37e3dd21681e · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not confirm the original page's code-block line breaks. The configuration syntax finding applies to the displayed three-line assignment.
- We did not verify the 10 ms receiver replacement time, the 5 ms timeout test, or the three-node failover outcome.
- We did not check every password-input path used by pg_basebackup.
- We checked selected version boundaries, including PostgreSQL 12 reload restrictions, PostgreSQL 14 upstream selection, and PostgreSQL 17 slot synchronization.
- We did not establish whether the described behavior changed after October 14, 2026.
- The article gives October 14, 2026, without a publication time. We list that date at midnight UTC.
- article target version: bound to the most-cited major; also named 10 (2×), 17 (1×), 12 (1×)
- source: postgres 13 was read at REL_13_23, its newest release when the article was published
- 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.
- 6 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, one pinned source tree, and 4 fetched pages.
- 18 survived · 1 weakened · 0 withdrawn.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=2) · 2026-10-16 12:18 UTC · A · audited with v1.0.8 (approx.)
  Article as first submitted. 14 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: First audit. Open: none.
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=4) · 2026-10-18 17:54 UTC · A · audited with v1.0.11 (approx.)
  Same article text, re-audited. 16 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A. Open: the benchmark cannot yet be rerun from what is published.
  Changes: No change in findings.
- [Revision 3](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=6) · 2026-10-18 21:51 UTC · A · audited with v1.0.12 (approx.)
  Same article text, re-audited. 15 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: No change in findings.
- [Revision 4](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=8) · 2026-10-19 03:27 UTC · A · audited with v1.0.13 (approx.)
  Same article text, re-audited. 21 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: No change in findings.
- [Revision 5](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=10) · 2026-10-19 21:32 UTC · A · audited with v1.0.16 (approx.)
  Same article text, re-audited. 12 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: No change in findings.
- [Revision 6](https://pgtrue.postgres.ai/shared/brief/e01006d6-e598-414b-9aeb-1bd662228ae3?v=13) · this page · 2026-10-21 03:56 UTC · A · audited with v1.0.17 (approx.) · regraded with v1.1.0 (approx.)
  Article text changed. 16 accurate · 0 wrong · 0 caveats.
  ElephantSeal: A.
  Changes: No longer reported: none. New: F1 “The displayed multi-host configuration contains invalid literal newlines” (recipe error).

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