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 A-Limited 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/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.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/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.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/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.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/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 90
   :height: 20
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/radar.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 240
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=light)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=light
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=light
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=dark)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=dark
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13&theme=dark
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :alt: pgTrue fact-check
   :width: 480
   :height: 240
[![pgTrue fact-check](https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13)](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8)
<a href="https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8"><img src="https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/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/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13
.. image:: https://pgtrue.postgres.ai/badge/22a29543-cd01-4274-9e85-110ef3c82cc8/wide.svg?v=13
   :target: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
   :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

The Database Restarted Without Restarting: The Basics of PostgreSQL Signals (Part 1) (opens in new tab)

stormatics.tech
Check before you follow it: 1 claim is wrong.
1
inaccuracy
0
dangerous-recipe
0
misleading
1
imprecise
1
transcription
0
aged
0
withdrawn
13
verified-accurate

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

ReportTechnical fact-check, edition 3 pgTrue versionaudited with v1.0.14 (approx.) · regraded with v1.1.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.

Inaccuracies

F1

Not every postmaster child death resets the cluster

INACCURATEFactual · holds up after review

Claim ledger

Article says
When any child of the postmaster is killed by a signal…
What is true
The system logger is an exception. REL_18_6 src/backend/postmaster/postmaster.c:2471-2485 restarts it and continues without crash handling. TerminateChildren also excludes the logger. Treating every child death as cluster recovery sends incident diagnosis toward the wrong cause.
So what
Identify the dead child before diagnosing cluster-wide recovery. Treat a system-logger death as a logger restart.
Charitable reading
The explanation fits backend crashes and untracked-child signal deaths. The word any also includes the system logger.

Source

Source · REL_18_6 · src/backend/postmaster/postmaster.c:2471-2485/* Was it the system logger? If so, try to start a new one */ if (SysLoggerPMChild && pid == SysLoggerPMChild->pid) { ReleasePostmasterChildSlot(SysLoggerPMChild); SysLoggerPMChild = NULL; /* for safety's sake, launch new logger *first* */ if (Logging_collector) StartSysLogger(); if (!EXIT_STATUS_0(exitstatus)) LogChildExit(LOG, _("system logger process"), pid, exitstatus); continue; }
In the article · section “Key Takeaways”

In the article

excerpt · section “Key Takeaways” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Key Takeaways

When any child of the postmaster is killed by a signal, PostgreSQL drops every connection, resets shared memory, and replays WAL. The postmaster keeps its process ID, so the server never appears to restart.

All sources and excerpts · 3
Evidence /* Was it the system logger? If so, try to start a new one */ if (SysLoggerPMChild && pid == SysLoggerPMChild->pid) { ReleasePostmasterChildSlot(SysLoggerPMChild); SysLoggerPMChild = NULL; /* for safety's sake, launch new logger *first* */ if (Logging_collector) StartSysLogger(); if (!EXIT_STATUS_0(exitstatus)) LogChildExit(LOG, _("system logger process"), pid, exitstatus); continue; }
Evidence SignalChildren(signal, btmask_all_except(B_LOGGER));
Evidence /* for safety's sake, launch new logger *first* */ if (Logging_collector) StartSysLogger(); if (!EXIT_STATUS_0(exitstatus)) LogChildExit(LOG, _("system logger process"), pid, exitstatus); continue;
How the review tested this

Review: We tested whether backend-crash context limits the universal statement. The explicit any-child claim includes the logger, whose exit bypasses crash handling. We tested whether the surrounding backend discussion limits 'any child.' The explicit universal still includes the logger. E-2 restarts the logger and continues without crash handling. The proposed diagnostic decision is concrete. Wasted work fits the evidence.

Dangerous or recipe bugsNone in this edition.

Misleading / imprecise

F2

The signaling permission list omits role membership and target restrictions

IMPRECISEFactual · holds up after review

Claim ledger

Article says
…or be a member of the pg_signal_backend role.
What is true
pg_signal_backend does not authorize signaling superuser-owned client backends. Privileges of the target role can authorize signaling without connecting as that role. REL_18_6 src/backend/storage/ipc/signalfuncs.c:30-180 enforces both rules. The article's list can cause failed incident commands or unnecessary grants.
So what
Use a superuser to signal superuser-owned client backends. For ordinary targets, consider existing privileges of the target role before granting pg_signal_backend.
Charitable reading
The list summarizes common permissions. Its unqualified pg_signal_backend option omits a target restriction, and its same-role option omits role membership.

Source

Source · REL_18_6 · src/backend/storage/ipc/signalfuncs.c:30-180 else if (!superuser()) return SIGNAL_BACKEND_NOSUPERUSER; } else if (!has_privs_of_role(GetUserId(), proc->roleId) && !has_privs_of_role(GetUserId(), ROLE_PG_SIGNAL_BACKEND)) return SIGNAL_BACKEND_NOPERMISSION;
In the article · section “The Everyday Version: K ill -9”

In the article

excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

The Everyday Version: K ill -9

Both functions go through PostgreSQL’s own signal handling, so the process cleans up after itself and only that one session is affected. To use them, you must be a superuser, be connected as the same role as the target session, or be a member of the pg_signal_backend role.

All sources and excerpts · 3
Evidence else if (!superuser()) return SIGNAL_BACKEND_NOSUPERUSER; } else if (!has_privs_of_role(GetUserId(), proc->roleId) && !has_privs_of_role(GetUserId(), ROLE_PG_SIGNAL_BACKEND)) return SIGNAL_BACKEND_NOPERMISSION;
Evidence * Only allow superusers to signal superuser-owned backends. Any process
Evidence calling role is a member of the role whose backend is being canceled or the calling role has privileges of <literal>pg_signal_backend</literal>, however only superusers can cancel superuser backends.
How the review tested this

Review: We tested the list as a summary of common permissions. Superuser targets still reject pg_signal_backend alone. Inherited role privileges also qualify. We read the permission list as a beginner summary. E-5 still contradicts its unrestricted pg_signal_backend option for superuser targets. E-4 also permits privileges of the target role. Using a superuser for restricted targets names a concrete action.

Transcription slips

F3

The printed session query contains invalid SQL punctuation

MISTRANSCRIBEDFactual · holds up after review

Claim ledger

Article says
…now() – query_start AS running_for, query FROM pg_stat_activity WHERE state = ‘active’…
What is true
The printed query uses an en dash and curly quotes. REL_18_6 src/backend/parser/scan.l:335-370 defines ASCII minus as an operator. doc/src/sgml/syntax.sgml:300-310 specifies ASCII single quotes for strings. Copying the displayed query fails before it lists sessions.
So what
Replace the en dash with ASCII minus and replace the curly quotes around active with ASCII single quotes.
Charitable reading
Typography conversion can explain these characters. The intended query uses ordinary subtraction and a single-quoted string.

Source

Source · REL_18_6 · src/backend/parser/scan.l:366-368self [,()\[\].;\:\+\-\*\/\%\^\<\>\=] op_chars [\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=] operator {op_chars}+
In the article · section “The Everyday Version: K ill -9”

In the article

excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

The Everyday Version: K ill -9

SELECT pid, usename, state, now() – query_start AS running_for, query

FROM pg_stat_activity

WHERE state = ‘active’

All sources and excerpts · 5
Evidenceself [,()\[\].;\:\+\-\*\/\%\^\<\>\=] op_chars [\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=] operator {op_chars}+
Evidenceident_start [A-Za-z\200-\377_] ident_cont [A-Za-z\200-\377_0-9\$] identifier {ident_start}{ident_cont}*
Evidence A string constant in SQL is an arbitrary sequence of characters bounded by single quotes (<literal>'</literal>), for example <literal>'This is a string'</literal>. To include
Evidenceself [,()\[\].;\:\+\-\*\/\%\^\<\>\=] op_chars [\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=] operator {op_chars}+
Evidence A string constant in SQL is an arbitrary sequence of characters bounded by single quotes (<literal>'</literal>), for example <literal>'This is a string'</literal>. To include
How the review tested this

Review: We checked whether PostgreSQL accepts these Unicode characters as SQL punctuation. The lexer does not. The finding already limits itself to printed text. We tested typography conversion as an alternative explanation. The extracted query contains the stated punctuation. E-57 defines ASCII subtraction, and E-59 defines quoted strings. The finding already limits its conclusion to the available article text.

Verified accurate

F4

pg_cancel_backend requests query cancellation with SIGINT

ACCURATEFactual · holds up after review

Claim ledger

Article says
…SELECT pg_cancel_backend(48213);…
What is true
pg_cancel_backend sends SIGINT to the target backend. The backend installs StatementCancelHandler for SIGINT. REL_18_6 doc/src/sgml/func.sgml:28679-28698 describes cancellation of the current query. Protocol cancellation also delivers SIGINT. The recommendation to cancel before terminating matches these mechanisms.
Charitable reading
The example assumes PID 48213 identifies an eligible backend and the caller has signaling permission.

Source

Source · REL_18_6 · src/backend/storage/ipc/signalfuncs.c:30-180pg_cancel_backend(PG_FUNCTION_ARGS) { int r = pg_signal_backend(PG_GETARG_INT32(0), SIGINT);
In the article · section “The Everyday Version: K ill -9”

In the article

excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

The Everyday Version: K ill -9

SELECT pg_cancel_backend(48213);

All sources and excerpts · 5
Evidencepg_cancel_backend(PG_FUNCTION_ARGS) { int r = pg_signal_backend(PG_GETARG_INT32(0), SIGINT);
Evidence Cancels the current query of the session whose backend process has the specified process ID. This is also allowed if the
Evidence kill(backendPID, SIGINT);
Evidence if (PQcancel(cancelConn, errbuf, sizeof(errbuf)))
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
How the review tested this

Review: We checked permission failures and signal delivery versus completion. The finding describes a cancellation request, which SIGINT and StatementCancelHandler support. We checked whether cancellation guarantees completion or bypasses permissions. The finding describes a request and assumes an eligible target. E-10 sends SIGINT, and E-43 installs StatementCancelHandler.

F5

pg_terminate_backend requests session termination with SIGTERM

ACCURATEFactual · holds up after review

Claim ledger

Article says
…SELECT pg_terminate_backend(48213);…
What is true
pg_terminate_backend sends SIGTERM to the target backend. The backend installs die for SIGTERM. REL_18_6 doc/src/sgml/func.sgml:28757-28787 describes session termination. With the default zero timeout, success confirms signal delivery rather than completed termination.
Charitable reading
The example requests termination. Its default timeout does not wait for confirmed process exit.

Source

Source · REL_18_6 · src/backend/storage/ipc/signalfuncs.c:225-305r = pg_signal_backend(pid, SIGTERM);
In the article · section “The Everyday Version: K ill -9”

In the article

excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

The Everyday Version: K ill -9

SELECT pg_terminate_backend(48213);

All sources and excerpts · 3
Evidence r = pg_signal_backend(pid, SIGTERM);
Evidence Terminates the session whose backend process has the specified process ID. This is also allowed if the calling role
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
How the review tested this

Review: We checked the zero-timeout behavior. The finding correctly distinguishes successful signal delivery from completed termination. We tested whether the finding confuses signal delivery with completed termination. It explicitly distinguishes those events. E-13 sends SIGTERM, and E-43 installs the session termination handler.

F6

pg_reload_conf signals the postmaster and initiates configuration reload

ACCURATEFactual · holds up after review

Claim ledger

Article says
…SELECT pg_reload_conf();…
What is true
pg_reload_conf sends SIGHUP to PostmasterPid. The postmaster reads configuration and signals tracked children except dead-end backends. REL_18_6 src/backend/postmaster/postmaster.c:1990-2010 implements that sequence. The version-matched documentation describes the same reload mechanism.
Charitable reading
The description concerns an ordinary configuration reload, with server processes already initialized.

Source

Source · REL_18_6 · src/backend/storage/ipc/signalfuncs.c:225-305pg_reload_conf(PG_FUNCTION_ARGS) { if (kill(PostmasterPid, SIGHUP))
In the article · section “Same Signal, Different Reactions”

In the article

excerpt · section “Same Signal, Different Reactions” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Same Signal, Different Reactions

You see PostgreSQL’s training at work every time you reload it. Running SELECT pg_reload_conf(); sends signal 1 to the main PostgreSQL process, which passes it on to the other PostgreSQL processes. They pick up the new settings, and none of them die.

All sources and excerpts · 4
Evidencepg_reload_conf(PG_FUNCTION_ARGS) { if (kill(PostmasterPid, SIGHUP))
Evidence ProcessConfigFile(PGC_SIGHUP); SignalChildren(SIGHUP, btmask_all_except(B_DEAD_END_BACKEND));
Evidence server to reload their configuration files. (This is initiated by sending a <systemitem>SIGHUP</systemitem> signal to the postmaster process, which in turn sends <systemitem>SIGHUP</systemitem> to each of its children.) You can use the
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
How the review tested this

Review: We checked whether reload reaches every child unconditionally. The finding correctly excludes dead-end backends and describes ordinary reload handling. We checked whether the child-signaling claim includes untracked or dead-end children. The finding specifies tracked children and excludes dead-end backends. E-16 and E-17 support that narrower sequence.

F7

restart_after_crash defaults to on and controls automatic reinitialization

ACCURATEFactual · holds up after review

Claim ledger

Article says
…which is on by default.
What is true
restart_after_crash defaults to true in REL_18_6 src/backend/utils/misc/guc_tables.c:1297-1304. The postmaster exits when the setting is off. Otherwise, its recovery path recreates shared memory and starts the startup process. The documentation matches the default and effect.
Charitable reading
The parenthetical identifies automatic reinitialization after a recoverable backend crash.

Source

Source · REL_18_6 · src/backend/utils/misc/guc_tables.c:1297-1304&restart_after_crash, true,
In the article · section “Why One Death Resets Everything”

In the article

excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Why One Death Resets Everything

The WARNING line is what every other session receives, and it’s usually the first thing an application team reports . The postmaster itself never stops, so its process ID stays the same, and the server never appears to restart. The database restarted without restarting. (This automatic recovery is controlled by the restart_after_crash setting, which is on by default.)

All sources and excerpts · 3
Evidence &restart_after_crash, true,
Evidence When set to on, which is the default, <productname>PostgreSQL</productname> will automatically reinitialize after a backend crash. Leaving this
Evidence /* re-create shared memory and semaphores */ CreateSharedMemoryAndSemaphores(); UpdatePMState(PM_STARTUP); /* Make sure we can perform I/O while starting up. */ maybe_adjust_io_workers(); StartupPMChild = StartChildProcess(B_STARTUP);
How the review tested this

Review: We checked startup-failure exceptions and the disabled-setting branch. The finding concerns recoverable backend crashes and correctly states the default. We tested whether restart_after_crash promises recovery from every failure. The finding concerns recoverable backend crashes. E-20 establishes the default, E-21 describes reinitialization, and E-22 recreates shared memory.

F8

pg_stat_activity supplies the intended session and query-start columns

ACCURATEFactual · holds up after review

Claim ledger

Article says
…ORDER BY running_for DESC;…
What is true
pg_stat_activity exposes pid, usename, state, query_start, and query. REL_18_6 src/backend/catalog/system_views.sql:878-904 defines those columns. The documentation identifies query_start as the active query's start time. Descending elapsed time orders older active queries first.
Charitable reading
The ordering describes the intended query after correcting its punctuation.

Source

Source · REL_18_6 · src/backend/catalog/system_views.sql:878-904CREATE VIEW pg_stat_activity AS SELECT S.datid AS datid, D.datname AS datname, S.pid, S.leader_pid, S.usesysid, U.rolname AS usename, S.application_name, S.client_addr, S.client_hostname, S.client_port, S.backend_start, S.xact_start, S.query_start, S.state_change, S.wait_event_type, S.wait_event, S.state, S.backend_xid, s.backend_xmin, S.query_id, S.query, S.backend_type
In the article · section “The Everyday Version: K ill -9”

In the article

excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

The Everyday Version: K ill -9

ORDER BY running_for DESC;

All sources and excerpts · 2
EvidenceCREATE VIEW pg_stat_activity AS SELECT S.datid AS datid, D.datname AS datname, S.pid, S.leader_pid, S.usesysid, U.rolname AS usename, S.application_name, S.client_addr, S.client_hostname, S.client_port, S.backend_start, S.xact_start, S.query_start, S.state_change, S.wait_event_type, S.wait_event, S.state, S.backend_xid, s.backend_xmin, S.query_id, S.query, S.backend_type
Evidence Time when the currently active query was started, or if <structfield>state</structfield> is not <literal>active</literal>, when the last query was started
How the review tested this

Review: We checked the column definitions and subtraction order. For a common timestamp, descending elapsed time places earlier query starts first. We checked whether the syntax defect invalidates this separate ordering claim. The finding explicitly assumes corrected punctuation. E-24 exposes the columns, and E-25 identifies the active query start time.

F9

Verified accurate: “The postmaster sees one of its children killed by a signal.”

ACCURATEFactual · partly holds after review

Claim ledger

Article says
The postmaster sees one of its children killed by a signal.
What is true
REL_18_6 src/backend/postmaster/postmaster.c:2523-2533 calls HandleChildCrash for untracked-child exits other than normal statuses 0 and 1. Lines 3145-3215 contain shared-memory recreation and startup-child creation. These excerpts do not establish the complete recovery path or preservation of the postmaster PID.

Source

Source · REL_18_6 · src/backend/postmaster/postmaster.c:3145-3215/* re-create shared memory and semaphores */ CreateSharedMemoryAndSemaphores(); UpdatePMState(PM_STARTUP); /* Make sure we can perform I/O while starting up. */ maybe_adjust_io_workers(); StartupPMChild = StartChildProcess(B_STARTUP);
In the article · section “Why One Death Resets Everything”

In the article

excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Why One Death Resets Everything

The postmaster sees one of its children killed by a signal.

All sources and excerpts · 5
Evidence /* re-create shared memory and semaphores */ CreateSharedMemoryAndSemaphores(); UpdatePMState(PM_STARTUP); /* Make sure we can perform I/O while starting up. */ maybe_adjust_io_workers(); StartupPMChild = StartChildProcess(B_STARTUP);
Evidence else { if (!EXIT_STATUS_0(exitstatus) && !EXIT_STATUS_1(exitstatus)) HandleChildCrash(pid, exitstatus, _("untracked child process")); else LogChildExit(LOG, _("untracked child process"), pid, exitstatus); }
Evidence if (!EXIT_STATUS_0(exitstatus) && !EXIT_STATUS_1(exitstatus)) crashed = true;
Evidence partitionLock = LockHashPartitionLock(locallock->hashcode); LWLockAcquire(partitionLock, LW_SHARED);
Evidence smgrwrite(reln, BufTagGetForkNum(&buf->tag), buf->tag.blockNum, bufToWrite, false);
How the review tested this

Review: We tested the conditional reading. E-27 supports dispatch to HandleChildCrash. E-22 shows shared-memory recreation. The excerpts omit the connecting control flow and postmaster identity preservation. E-39 and E-40 establish neither.

F10

The postmaster creates connection backends and background processes

ACCURATEFactual · holds up after review

Claim ledger

Article says
Every connection gets its own.
What is true
REL_18_6 doc/src/sgml/arch-dev.sgml:85-145 describes a backend per connection and names the supervisor postmaster. The launch table registers checkpointer, WAL writer, and autovacuum launcher processes. Shared-memory initialization creates buffer and lock managers. The documented executable accepts postgres -D.
Charitable reading
The process tree illustrates a normal server instance. Its paths and process titles are examples.

Source

Source · REL_18_6 · doc/src/sgml/arch-dev.sgml:85-145we have to use a <quote>supervisor process</quote> that spawns a new backend process every time a connection is requested. This supervisor process is called <glossterm linkend="glossary-postmaster">postmaster</glossterm> and listens at a specified TCP/IP port for incoming connections.
In the article · section “Meet the Postmaster”

In the article

excerpt · section “Meet the Postmaster” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Meet the Postmaster

Backends serve the clients. Every connection gets its own.

All sources and excerpts · 5
Evidence we have to use a <quote>supervisor process</quote> that spawns a new backend process every time a connection is requested. This supervisor process is called <glossterm linkend="glossary-postmaster">postmaster</glossterm> and listens at a specified TCP/IP port for incoming connections.
Evidence [B_ARCHIVER] = {"archiver", PgArchiverMain, true}, [B_BG_WRITER] = {"bgwriter", BackgroundWriterMain, true}, [B_CHECKPOINTER] = {"checkpointer", CheckpointerMain, true}, [B_IO_WORKER] = {"io_worker", IoWorkerMain, true}, [B_STARTUP] = {"startup", StartupProcessMain, true}, [B_WAL_RECEIVER] = {"wal_receiver", WalReceiverMain, true}, [B_WAL_SUMMARIZER] = {"wal_summarizer", WalSummarizerMain, true}, [B_WAL_WRITER] = {"wal_writer", WalWriterMain, true},
Evidence [B_AUTOVAC_LAUNCHER] = {"autovacuum launcher", AutoVacLauncherMain, true},
Evidence BufferManagerShmemInit(); /* * Set up lock manager */ LockManagerShmemInit();
Evidence$ <userinput>postgres -D /usr/local/pgsql/data</userinput>
How the review tested this

Review: We checked whether the process tree implies an exhaustive list or mandatory path. It illustrates normal architecture, which the cited definitions support. We tested whether the process tree claims exact deployment paths or exhaustive process membership. It presents examples. E-30 supports per-connection backends, and E-31 through E-34 support the named processes and initialization.

F12

The terminated-by-signal message reports process death

ACCURATEFactual · holds up after review

Claim ledger

Article says
…means that process didn’t handle the signal…
What is true
LogChildExit emits the terminated-by-signal message when WIFSIGNALED reports signal termination. REL_18_6 src/backend/postmaster/postmaster.c:2760-2860 extracts the terminating signal with WTERMSIG. This message differs from the postmaster's configuration-reload receipt.
Charitable reading
Did not handle means the process died from SIGHUP instead of completing ordinary reload handling.

Source

Source · REL_18_6 · src/backend/postmaster/postmaster.c:2760-2860(errmsg("%s (PID %d) was terminated by signal %d: %s", procname, pid, WTERMSIG(exitstatus), pg_strsignal(WTERMSIG(exitstatus))),
In the article · section “Key Takeaways”

In the article

excerpt · section “Key Takeaways” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Key Takeaways

Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration. A log line saying a process was terminated by signal 1 means that process didn’t handle the signal and died from it.

All sources and excerpts · 1
Evidence (errmsg("%s (PID %d) was terminated by signal %d: %s", procname, pid, WTERMSIG(exitstatus), pg_strsignal(WTERMSIG(exitstatus))),
How the review tested this

Review: We checked whether the log proves handler absence. The finding makes the narrower supported claim: WIFSIGNALED establishes signal termination. We tested whether the message proves that no handler ever existed. The finding instead verifies signal termination. Its charitable reading concerns failure to complete normal reload handling. E-38 reports the terminating signal with WTERMSIG.

F14

SIGHUP normally requests configuration reload

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration.
What is true
PostgreSQL 18.6 installs SignalHandlerForConfigReload for backend SIGHUP. src/backend/tcop/postgres.c:4221 confirms the article's normal-case description.
Charitable reading
The claim says normally and describes established backend behavior.

Source

Source · REL_18_6 · src/backend/tcop/postgres.c:4221-4223pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
In the article · section “Key Takeaways”

In the article

excerpt · section “Key Takeaways” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Key Takeaways

Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration. A log line saying a process was terminated by signal 1 means that process didn’t handle the signal and died from it.

All sources and excerpts · 1
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
How the review tested this

Review: We tested the claim against process-specific signal handling. Its normal-case qualification fits the backend's installed configuration-reload handler. We tested a universal interpretation against exceptional processes. The article says normally, and the finding specifies backend behavior. E-48 installs SignalHandlerForConfigReload for SIGHUP.

F15

pg_cancel_backend sends SIGINT for statement cancellation

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Cancels the current query ( pg_cancel_backend() )…
What is true
src/backend/storage/ipc/signalfuncs.c:138 sends SIGINT. src/backend/tcop/postgres.c:4222 installs StatementCancelHandler for that signal.
Charitable reading
The table describes a session backend, consistent with its reference to pg_cancel_backend().

Source

Source · REL_18_6 · src/backend/tcop/postgres.c:4221-4223pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
In the article · section “What is a Signal?”

In the article

excerpt · section “What is a Signal?” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

What is a Signal?

Number Name Original Meaning How PostgreSQL Responds 1 SIGHUP “Your terminal hung up” Reloads the configuration 2 SIGINT “Interrupt” (Ctrl+C) Cancels the current query ( pg_cancel_backend() ) 3 SIGQUIT “Quit” (Ctrl+\) Ends the session immediately, without cleanup 9 SIGKILL “Kill” Nothing can handle or ignore it; the process simply dies 13 SIGPIPE “Broken pipe”: the other side of a connection is gone Ignored; PostgreSQL deals with the broken connection itself 15 SIGTERM “Please terminate” Ends the session cleanly ( pg_terminate_backend() )
All sources and excerpts · 2
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
Evidence int r = pg_signal_backend(PG_GETARG_INT32(0), SIGINT);
How the review tested this

Review: We checked the table's session-backend interpretation. pg_cancel_backend sends SIGINT, and that backend installs StatementCancelHandler. We tested whether the table describes postmaster shutdown rather than backend cancellation. Its pg_cancel_backend reference establishes the session context. E-50 sends SIGINT, and E-48 installs StatementCancelHandler.

F16

pg_terminate_backend sends SIGTERM

ACCURATEFactual · holds up after review

Claim ledger

Article says
…Ends the session cleanly ( pg_terminate_backend() )…
What is true
src/backend/storage/ipc/signalfuncs.c:251 sends SIGTERM. src/backend/tcop/postgres.c:4223 installs die to cancel the current query and exit.
Charitable reading
The table describes normal session termination through PostgreSQL's handler.

Source

Source · REL_18_6 · src/backend/tcop/postgres.c:4221-4223pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
In the article · section “What is a Signal?”

In the article

excerpt · section “What is a Signal?” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

What is a Signal?

Number Name Original Meaning How PostgreSQL Responds 1 SIGHUP “Your terminal hung up” Reloads the configuration 2 SIGINT “Interrupt” (Ctrl+C) Cancels the current query ( pg_cancel_backend() ) 3 SIGQUIT “Quit” (Ctrl+\) Ends the session immediately, without cleanup 9 SIGKILL “Kill” Nothing can handle or ignore it; the process simply dies 13 SIGPIPE “Broken pipe”: the other side of a connection is gone Ignored; PostgreSQL deals with the broken connection itself 15 SIGTERM “Please terminate” Ends the session cleanly ( pg_terminate_backend() )
All sources and excerpts · 2
Evidence pqsignal(SIGHUP, SignalHandlerForConfigReload); pqsignal(SIGINT, StatementCancelHandler); /* cancel current query */ pqsignal(SIGTERM, die); /* cancel current query and exit */
Evidence r = pg_signal_backend(pid, SIGTERM);
How the review tested this

Review: We checked whether the finding promises immediate completion. It only identifies SIGTERM and the installed die handler. We tested whether SIGTERM has the same meaning for every server process. The finding concerns session backends. E-52 sends SIGTERM, and E-48 installs die for session termination.

F17

Verified accurate: “…This automatic recovery is controlled by the restart_after_crash setting…”

ACCURATEFactual · partly holds after review

Claim ledger

Article says
…This automatic recovery is controlled by the restart_after_crash setting…
What is true
REL_18_6 src/backend/utils/misc/guc_tables.c:1301-1302 gives restart_after_crash a true default. E-54 establishes the default only. It does not show the recovery path or behavior when the setting is false.

Source

Source · REL_18_6 · src/backend/utils/misc/guc_tables.c:1301-1302&restart_after_crash, true,
In the article · section “Why One Death Resets Everything”

In the article

excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · open in article ↗ (opens in new tab)

Why One Death Resets Everything

The WARNING line is what every other session receives, and it’s usually the first thing an application team reports . The postmaster itself never stops, so its process ID stays the same, and the server never appears to restart. The database restarted without restarting. (This automatic recovery is controlled by the restart_after_crash setting, which is on by default.)

All sources and excerpts · 1
Evidence &restart_after_crash, true,
How the review tested this

Review: We separated the default from its runtime effect. E-54 establishes a true default. It contains no recovery branch showing that false causes an exit.

F18

The linked webinar lists October 28, 2026

ACCURATEFactual · holds up after review

Claim ledger

Article says
…join our webinar on October 28…
What is true
The linked registration page schedules the incident-triage webinar for October 28, 2026, at 2 PM GMT.
Charitable reading
October 28 refers to the article's publication year, 2026.

Source

Source · https://resources.stormatics.tech/webinar-the-first-30-minutes-of-a-postgresql-incident-a-production-triage-playbookon 28 October 2026 at 2 PM GMT
In the article

In the article

Article · exact quote · open in article ↗ (opens in new tab)…join our webinar on October 28…
All sources and excerpts · 1
Evidenceon 28 October 2026 at 2 PM GMT
How the review tested this

Review: We checked the registration page's event identity, year, and time. It explicitly schedules this webinar for October 28, 2026. We checked whether the omitted year or time contradicts the linked schedule. The preserved registration page contains E-56 verbatim. It schedules October 28, 2026, at 2 PM GMT.

Notes

1 not graded: findings no reader would act on differently
F11

Note: “pg_dump has no handler for signal 1…”

NOTEpartly holds after review

Claim ledger

Article says
pg_dump has no handler for signal 1…
What is true
E-36 shows pg_dump registering handlers for SIGINT, SIGTERM, and SIGQUIT. Those three lines do not establish that pg_dump has no SIGHUP handler elsewhere. We could not independently verify the broader absence claim.

Source

Source · REL_18_6 · src/bin/pg_dump/parallel.c:610-650pqsignal(SIGINT, sigTermHandler); pqsignal(SIGTERM, sigTermHandler); pqsignal(SIGQUIT, sigTermHandler);

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)pg_dump has no handler for signal 1…
All sources and excerpts · 1
Evidence pqsignal(SIGINT, sigTermHandler); pqsignal(SIGTERM, sigTermHandler); pqsignal(SIGQUIT, sigTermHandler);
How the review tested this

Review: We tested whether E-36 proves that pg_dump never registers SIGHUP handling. It shows only three registrations. It cannot establish absence elsewhere. The reported search has no independently inspectable result here. The narrower registration observation survives. We searched src/bin/pg_dump for SIGHUP and found no matches. The finding already preserves the inherited-signal-disposition caveat.

More in this report

Section checks · 9 sections

Section checks

AspectGradeFindingsCoverage
Key takeawaysB+1 inaccuracy · 1 verified-accurate75% of claims (9 of 12, plus 1 that need data we do not have)
Signal basicsA2 verified-accurate50% of claims (3 of 6)provisional
Signal handlingA1 verified-accurate75% of claims (6 of 8, plus 3 that need data we do not have)
Process architectureA1 verified-accurate73% of claims (14 of 19, plus 1 that need data we do not have)
Log interpretationA1 verified-accurate66% of claims (2 of 3, plus 2 that need data we do not have)
Crash recoveryA2 verified-accurate50% of claims (7 of 14, plus 1 that need data we do not have)provisional
Unrelated child processesA1 verified-accurate100% of claims (3 of 3, plus 2 that need data we do not have)
Stopping queriesA1 imprecise · 1 transcription · 3 verified-accurate71% of claims (10 of 14, plus 2 that need data we do not have)
Support and navigationA1 verified-accurateno checkable claims
Coverage and assessment · Checked 55 of 80 Postgres claims across 12 sections

A- — the findings address the article's main subject. What we did not check is listed below. The findings directly check SIGHUP handling, child-crash recovery, log interpretation, and backend cancellation against PostgreSQL 18.6 source.

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 article's signal and recovery scenarios.
  • We did not verify the article's Linux, terminal, shell, or nohup behavior.
  • We could not determine the SIGHUP disposition of the unspecified external program.
  • We did not measure the performance contribution of shared memory.
  • We did not verify the article's canonical URL or live formatting.
  • We did not verify the hypothetical incident's process identity, signal sender, or complete logs.
  • We did not check every process's crash handling or the complete recovery log sequence.
  • We did not check the SSH-disconnection example or Linux out-of-memory handling.
  • We did not check every process-architecture claim or configuration-reload effect.
  • We did not establish when the newer process labels first appeared.
  • We did not reproduce the article's examples.
  • We did not verify that kill -9 causes more resets than other failure modes.
  • We did not run the SQL examples or validate the illustrative recovery log against a server.
  • Safe: we did not complete every applicable check.
  • Section “Signal basics”: we checked 3 of 6 checkable claims.
  • Section “Crash recovery”: we checked 7 of 15 checkable claims.
  • We could not decide whether the article depends on finding F1.
Checked 55 of 80 Postgres claims across 12 sections
  • Introduction: no checkable claims; not counted: 2 not a claim
  • Key takeaways: 9 of 12 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 not a claim; not checked: 3 for other reasons
  • Incident scenario: 1 of 1 Postgres claims checked, plus 1 that need data we do not have; not counted: 6 duplicate, 7 not a claim
  • Signal basics: 3 of 6 Postgres claims checked; not counted: 14 product or opinion, 2 duplicate, 1 not a claim; not checked: 3 for other reasons
  • Signal handling: 6 of 8 Postgres claims checked, plus 3 that need data we do not have; not counted: 10 product or opinion, 1 duplicate, 1 not a claim; not checked: 2 for other reasons
  • Process architecture: 14 of 19 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 not a claim; not checked: 5 for other reasons
  • Log interpretation: 2 of 3 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate, 2 not a claim; not checked: 1 for other reasons
  • Crash recovery: 7 of 14 Postgres claims checked, plus 1 that need data we do not have; not counted: 5 product or opinion, 4 duplicate, 1 not a claim; not checked: 7 for other reasons
  • Unrelated child processes: 3 of 3 Postgres claims checked, plus 2 that need data we do not have
  • Stopping queries: 10 of 14 Postgres claims checked, plus 2 that need data we do not have; not counted: 3 product or opinion, 4 duplicate, 4 not a claim; not checked: 4 for other reasons
  • Incident conclusion: 1 claim is the author's own account; nothing checkable; not counted: 3 product or opinion, 4 duplicate, 3 not a claim
  • Support and navigation: no checkable claims; not counted: 3 product or opinion, 2 not a claim

Average of 3 axes: 3.77 · 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 B+ · 1 wrong of 16 checked · 2 caveats. Applicable A · 0 wrong of 7 checked · 0 caveats. Consistent A · 0 wrong of 16 checked · 0 caveats. Transparent 1 checked, too few for a letter. Safe 2 checked, too few for a letter. B+ 1 wrong of 16 checked · 2 caveatsFactual B+1 wrong of 162 caveats A 0 wrong of 7 checked · 0 caveatsApplicable A0 wrong of 70 caveats A 0 wrong of 16 checked · 0 caveatsConsistent A0 wrong of 160 caveats 1 checked, too few for a letterTransparent n/a0 wrong of 10 caveats 2 checked, too few for a letterSafe n/a0 wrong of 20 caveats A-

By topic: Key takeaways — 2 findings, 1 wrong · Signal basics — 2 findings, 0 wrong · Signal handling — 1 finding, 0 wrong · Process architecture — 1 finding, 0 wrong · Log interpretation — 1 finding, 0 wrong · Crash recovery — 2 findings, 0 wrong · Unrelated child processes — 1 finding, 0 wrong · Stopping queries — 5 findings, 0 wrong · Support and navigation — 1 finding, 0 wrong

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

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

We checked 16 claims.

AxisLetterWrongCaveatsCheckedCoverage
FactualB+1216assessed: B+ · 1 wrong of 16 checked · 2 caveats
ApplicableA007assessed: A · 0 wrong of 7 checked · 0 caveats
ConsistentA0016assessed: A · 0 wrong of 16 checked · 0 caveats
Transparent—001assessed: 0 wrong · 0 caveats · 1 checked
Safe—002partly assessed: 0 wrong · 0 caveats · 2 checked · partly assessed
Topics · 9 topics

Topics

TopicFactualApplicableConsistentTransparentSafe
Key takeaways1 issue 2 checked F1 F140 issues 1 checked0 issues 2 checked
Signal basics0 issues 2 checked F15 F160 issues 2 checked
Signal handling0 issues 1 checked F60 issues 1 checked
Process architecture0 issues 1 checked F100 issues 1 checked0 issues 1 checked
Log interpretation0 issues 1 checked F120 issues 1 checked
Crash recovery0 issues 2 checked F7 F170 issues 2 checked0 issues 2 checked
Unrelated child processes0 issues 1 checked F90 issues 1 checked0 issues 1 checked
Stopping queries2 issues 5 checked F2 F3 F4 F5 F80 issues 2 checked0 issues 5 checked
Support and navigation0 issues 1 checked F180 issues 1 checked0 issues 1 checked

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

Revisions: 2 · A- -> A-

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

  1. Revision 1 · 2026-10-13 01:09 UTC · A- · audit version not recorded · regrade version not recorded

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

    ElephantSeal: A-.

    Changes: First audit. Open: F1 “A logging collector crash does not reset every connection” (false); F2 “pg_signal_backend membership cannot signal superuser sessions” (misleading); F3 “…Cancels the current query ( pg_cancel_backend() )…” (mostly accurate).

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

    Article text changed. 13 accurate · 1 wrong · 2 caveats.

    ElephantSeal: A-.

    Changes: No longer reported: “pg_signal_backend membership cannot signal superuser sessions”; “…Cancels the current query ( pg_cancel_backend() )…”. New: F2 “The signaling permission list omits role membership and target restrictions” (mostly accurate); F3 “The printed session query contains invalid SQL punctuation” (misquoted).

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: The Database Restarted Without Restarting: The Basics of PostgreSQL Signals (Part 1)

Article title: The Database Restarted Without Restarting: The Basics of PostgreSQL Signals (Part 1)
Article URL: https://stormatics.tech/blogs/postgresql-signals-basics-part-1
Report URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8
Audited revision: 2 of 2, 2026-10-19 08:06:37 UTC
Overall letter: A-

## Axes

- Factual: B+ · 1 wrong · 16 checked · 2 caveats · assessed
- Applicable: A · 0 wrong · 7 checked · 0 caveats · assessed
- Consistent: A · 0 wrong · 16 checked · 0 caveats · assessed
- Transparent: — · 0 wrong · 1 checked · 0 caveats · assessed
- Safe: — · 0 wrong · 2 checked · 0 caveats · partly assessed

ElephantSeal: A-.

## Report metadata

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

## Findings needing a change (3)

### F1 · Inaccurate · Factual · Not every postmaster child death resets the cluster
Location: excerpt · section “Key Takeaways” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=When%20any%20child%20of%20the,is%20killed%20by%20a%20signal)
Article says:
```text
When any child of the postmaster is killed by a signal…
```
What is true:
The system logger is an exception. REL_18_6 src/backend/postmaster/postmaster.c:2471-2485 restarts it and continues without crash handling. TerminateChildren also excludes the logger. Treating every child death as cluster recovery sends incident diagnosis toward the wrong cause.
So what:
Identify the dead child before diagnosing cluster-wide recovery. Treat a system-logger death as a logger restart.
Charitable reading:
The explanation fits backend crashes and untracked-child signal deaths. The word any also includes the system logger.
Review: We tested whether backend-crash context limits the universal statement. The explicit any-child claim includes the logger, whose exit bypasses crash handling. We tested whether the surrounding backend discussion limits 'any child.' The explicit universal still includes the logger. E-2 restarts the logger and continues without crash handling. The proposed diagnostic decision is concrete. Wasted work fits the evidence.

Sources:
- [REL_18_6 · src/backend/postmaster/postmaster.c:2471-2485](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L2471-L2485)
  Excerpt:
  ```text
  /* Was it the system logger?  If so, try to start a new one */
		if (SysLoggerPMChild && pid == SysLoggerPMChild->pid)
		{
			ReleasePostmasterChildSlot(SysLoggerPMChild);
			SysLoggerPMChild = NULL;

			/* for safety's sake, launch new logger *first* */
			if (Logging_collector)
				StartSysLogger();

			if (!EXIT_STATUS_0(exitstatus))
				LogChildExit(LOG, _("system logger process"),
							 pid, exitstatus);
			continue;
		}
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:3470-3535](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L3470-L3535)
  Excerpt:
  ```text
  SignalChildren(signal, btmask_all_except(B_LOGGER));
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:2477-2484](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L2477-L2484)
  Excerpt:
  ```text
  /* for safety's sake, launch new logger *first* */
			if (Logging_collector)
				StartSysLogger();

			if (!EXIT_STATUS_0(exitstatus))
				LogChildExit(LOG, _("system logger process"),
							 pid, exitstatus);
			continue;
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F1

### F2 · Imprecise · Factual · The signaling permission list omits role membership and target restrictions
Location: excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=or%20be%20a%20member%20of%20the%20pg_signal_backend%20role.)
Article says:
```text
…or be a member of the pg_signal_backend role.
```
What is true:
pg_signal_backend does not authorize signaling superuser-owned client backends. Privileges of the target role can authorize signaling without connecting as that role. REL_18_6 src/backend/storage/ipc/signalfuncs.c:30-180 enforces both rules. The article's list can cause failed incident commands or unnecessary grants.
So what:
Use a superuser to signal superuser-owned client backends. For ordinary targets, consider existing privileges of the target role before granting pg_signal_backend.
Charitable reading:
The list summarizes common permissions. Its unqualified pg_signal_backend option omits a target restriction, and its same-role option omits role membership.
Review: We tested the list as a summary of common permissions. Superuser targets still reject pg_signal_backend alone. Inherited role privileges also qualify. We read the permission list as a beginner summary. E-5 still contradicts its unrestricted pg_signal_backend option for superuser targets. E-4 also permits privileges of the target role. Using a superuser for restricted targets names a concrete action.

Sources:
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:30-180](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L30-L180)
  Excerpt:
  ```text
  else if (!superuser())
			return SIGNAL_BACKEND_NOSUPERUSER;
	}
	else if (!has_privs_of_role(GetUserId(), proc->roleId) &&
			 !has_privs_of_role(GetUserId(), ROLE_PG_SIGNAL_BACKEND))
		return SIGNAL_BACKEND_NOPERMISSION;
  ```
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:80-80](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L80-L80)
  Excerpt:
  ```text
  * Only allow superusers to signal superuser-owned backends.  Any process
  ```
- [REL_18_6 · doc/src/sgml/func.sgml:28679-28698](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L28679-L28698)
  Excerpt:
  ```text
  calling role is a member of the role whose backend is being canceled or
        the calling role has privileges of <literal>pg_signal_backend</literal>,
        however only superusers can cancel superuser backends.
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F2

### F3 · Mistranscribed · Factual · The printed session query contains invalid SQL punctuation
Location: excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=now%28%29%20%E2%80%93%20query_start%20AS%20running_for%2C,pg_stat_activity%20WHERE%20state%20%3D%20%E2%80%98active%E2%80%99)
Article says:
```text
…now() – query_start AS running_for, query FROM pg_stat_activity WHERE state = ‘active’…
```
What is true:
The printed query uses an en dash and curly quotes. REL_18_6 src/backend/parser/scan.l:335-370 defines ASCII minus as an operator. doc/src/sgml/syntax.sgml:300-310 specifies ASCII single quotes for strings. Copying the displayed query fails before it lists sessions.
So what:
Replace the en dash with ASCII minus and replace the curly quotes around active with ASCII single quotes.
Charitable reading:
Typography conversion can explain these characters. The intended query uses ordinary subtraction and a single-quoted string.
Review: We checked whether PostgreSQL accepts these Unicode characters as SQL punctuation. The lexer does not. The finding already limits itself to printed text. We tested typography conversion as an alternative explanation. The extracted query contains the stated punctuation. E-57 defines ASCII subtraction, and E-59 defines quoted strings. The finding already limits its conclusion to the available article text.

Sources:
- [REL_18_6 · src/backend/parser/scan.l:366-368](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/parser/scan.l#L366-L368)
  Excerpt:
  ```text
  self			[,()\[\].;\:\+\-\*\/\%\^\<\>\=]
op_chars		[\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=]
operator		{op_chars}+
  ```
- [REL_18_6 · src/backend/parser/scan.l:332-335](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/parser/scan.l#L332-L335)
  Excerpt:
  ```text
  ident_start		[A-Za-z\200-\377_]
ident_cont		[A-Za-z\200-\377_0-9\$]

identifier		{ident_start}{ident_cont}*
  ```
- [REL_18_6 · doc/src/sgml/syntax.sgml:306-308](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/syntax.sgml#L306-L308)
  Excerpt:
  ```text
  A string constant in SQL is an arbitrary sequence of characters
     bounded by single quotes (<literal>'</literal>), for example
     <literal>'This is a string'</literal>.  To include
  ```
- [REL_18_6 · src/backend/parser/scan.l:335-370](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/parser/scan.l#L335-L370)
  Excerpt:
  ```text
  self			[,()\[\].;\:\+\-\*\/\%\^\<\>\=]
op_chars		[\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=]
operator		{op_chars}+
  ```
- [REL_18_6 · doc/src/sgml/syntax.sgml:300-310](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/syntax.sgml#L300-L310)
  Excerpt:
  ```text
  A string constant in SQL is an arbitrary sequence of characters
     bounded by single quotes (<literal>'</literal>), for example
     <literal>'This is a string'</literal>.  To include
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F3

## Verified accurate claims (13)

### F4 · Accurate · Factual · pg_cancel_backend requests query cancellation with SIGINT
Location: excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=SELECT%20pg_cancel_backend%2848213%29%3B)
Article says:
```text
…SELECT pg_cancel_backend(48213);…
```
What is true:
pg_cancel_backend sends SIGINT to the target backend. The backend installs StatementCancelHandler for SIGINT. REL_18_6 doc/src/sgml/func.sgml:28679-28698 describes cancellation of the current query. Protocol cancellation also delivers SIGINT. The recommendation to cancel before terminating matches these mechanisms.
Charitable reading:
The example assumes PID 48213 identifies an eligible backend and the caller has signaling permission.
Review: We checked permission failures and signal delivery versus completion. The finding describes a cancellation request, which SIGINT and StatementCancelHandler support. We checked whether cancellation guarantees completion or bypasses permissions. The finding describes a request and assumes an eligible target. E-10 sends SIGINT, and E-43 installs StatementCancelHandler.

Sources:
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:30-180](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L30-L180)
  Excerpt:
  ```text
  pg_cancel_backend(PG_FUNCTION_ARGS)
{
	int			r = pg_signal_backend(PG_GETARG_INT32(0), SIGINT);
  ```
- [REL_18_6 · doc/src/sgml/func.sgml:28679-28698](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L28679-L28698)
  Excerpt:
  ```text
  Cancels the current query of the session whose backend process has the
        specified process ID.  This is also allowed if the
  ```
- [REL_18_6 · src/backend/storage/ipc/procsignal.c:793-793](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/procsignal.c#L793-L793)
  Excerpt:
  ```text
  kill(backendPID, SIGINT);
  ```
- [REL_18_6 · src/fe_utils/cancel.c:165-165](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/fe_utils/cancel.c#L165-L165)
  Excerpt:
  ```text
  if (PQcancel(cancelConn, errbuf, sizeof(errbuf)))
  ```
- [REL_18_6 · src/backend/tcop/postgres.c:4190-4260](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4190-L4260)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F4

### F5 · Accurate · Factual · pg_terminate_backend requests session termination with SIGTERM
Location: excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=SELECT%20pg_terminate_backend%2848213%29%3B)
Article says:
```text
…SELECT pg_terminate_backend(48213);…
```
What is true:
pg_terminate_backend sends SIGTERM to the target backend. The backend installs die for SIGTERM. REL_18_6 doc/src/sgml/func.sgml:28757-28787 describes session termination. With the default zero timeout, success confirms signal delivery rather than completed termination.
Charitable reading:
The example requests termination. Its default timeout does not wait for confirmed process exit.
Review: We checked the zero-timeout behavior. The finding correctly distinguishes successful signal delivery from completed termination. We tested whether the finding confuses signal delivery with completed termination. It explicitly distinguishes those events. E-13 sends SIGTERM, and E-43 installs the session termination handler.

Sources:
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:225-305](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L225-L305)
  Excerpt:
  ```text
  r = pg_signal_backend(pid, SIGTERM);
  ```
- [REL_18_6 · doc/src/sgml/func.sgml:28757-28787](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L28757-L28787)
  Excerpt:
  ```text
  Terminates the session whose backend process has the
        specified process ID.  This is also allowed if the calling role
  ```
- [REL_18_6 · src/backend/tcop/postgres.c:4190-4260](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4190-L4260)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F5

### F6 · Accurate · Factual · pg_reload_conf signals the postmaster and initiates configuration reload
Location: excerpt · section “Same Signal, Different Reactions” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=SELECT%20pg_reload_conf%28%29%3B)
Article says:
```text
…SELECT pg_reload_conf();…
```
What is true:
pg_reload_conf sends SIGHUP to PostmasterPid. The postmaster reads configuration and signals tracked children except dead-end backends. REL_18_6 src/backend/postmaster/postmaster.c:1990-2010 implements that sequence. The version-matched documentation describes the same reload mechanism.
Charitable reading:
The description concerns an ordinary configuration reload, with server processes already initialized.
Review: We checked whether reload reaches every child unconditionally. The finding correctly excludes dead-end backends and describes ordinary reload handling. We checked whether the child-signaling claim includes untracked or dead-end children. The finding specifies tracked children and excludes dead-end backends. E-16 and E-17 support that narrower sequence.

Sources:
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:225-305](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L225-L305)
  Excerpt:
  ```text
  pg_reload_conf(PG_FUNCTION_ARGS)
{
	if (kill(PostmasterPid, SIGHUP))
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:1990-2010](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L1990-L2010)
  Excerpt:
  ```text
  ProcessConfigFile(PGC_SIGHUP);
		SignalChildren(SIGHUP, btmask_all_except(B_DEAD_END_BACKEND));
  ```
- [REL_18_6 · doc/src/sgml/func.sgml:28721-28740](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/func.sgml#L28721-L28740)
  Excerpt:
  ```text
  server to reload their configuration files.  (This is initiated by
        sending a <systemitem>SIGHUP</systemitem> signal to the postmaster
        process, which in turn sends <systemitem>SIGHUP</systemitem> to each
        of its children.) You can use the
  ```
- [REL_18_6 · src/backend/tcop/postgres.c:4190-4260](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4190-L4260)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F6

### F7 · Accurate · Factual · restart_after_crash defaults to on and controls automatic reinitialization
Location: excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=which%20is%20on%20by%20default.)
Article says:
```text
…which is on by default.
```
What is true:
restart_after_crash defaults to true in REL_18_6 src/backend/utils/misc/guc_tables.c:1297-1304. The postmaster exits when the setting is off. Otherwise, its recovery path recreates shared memory and starts the startup process. The documentation matches the default and effect.
Charitable reading:
The parenthetical identifies automatic reinitialization after a recoverable backend crash.
Review: We checked startup-failure exceptions and the disabled-setting branch. The finding concerns recoverable backend crashes and correctly states the default. We tested whether restart_after_crash promises recovery from every failure. The finding concerns recoverable backend crashes. E-20 establishes the default, E-21 describes reinitialization, and E-22 recreates shared memory.

Sources:
- [REL_18_6 · src/backend/utils/misc/guc_tables.c:1297-1304](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/misc/guc_tables.c#L1297-L1304)
  Excerpt:
  ```text
  &restart_after_crash,
		true,
  ```
- [REL_18_6 · doc/src/sgml/config.sgml:11687-11709](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/config.sgml#L11687-L11709)
  Excerpt:
  ```text
  When set to on, which is the default, <productname>PostgreSQL</productname>
        will automatically reinitialize after a backend crash.  Leaving this
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:3145-3215](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L3145-L3215)
  Excerpt:
  ```text
  /* re-create shared memory and semaphores */
		CreateSharedMemoryAndSemaphores();

		UpdatePMState(PM_STARTUP);

		/* Make sure we can perform I/O while starting up. */
		maybe_adjust_io_workers();

		StartupPMChild = StartChildProcess(B_STARTUP);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F7

### F8 · Accurate · Factual · pg_stat_activity supplies the intended session and query-start columns
Location: excerpt · section “The Everyday Version: K ill -9” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=ORDER%20BY%20running_for%20DESC%3B)
Article says:
```text
…ORDER BY running_for DESC;…
```
What is true:
pg_stat_activity exposes pid, usename, state, query_start, and query. REL_18_6 src/backend/catalog/system_views.sql:878-904 defines those columns. The documentation identifies query_start as the active query's start time. Descending elapsed time orders older active queries first.
Charitable reading:
The ordering describes the intended query after correcting its punctuation.
Review: We checked the column definitions and subtraction order. For a common timestamp, descending elapsed time places earlier query starts first. We checked whether the syntax defect invalidates this separate ordering claim. The finding explicitly assumes corrected punctuation. E-24 exposes the columns, and E-25 identifies the active query start time.

Sources:
- [REL_18_6 · src/backend/catalog/system_views.sql:878-904](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/catalog/system_views.sql#L878-L904)
  Excerpt:
  ```text
  CREATE VIEW pg_stat_activity AS
    SELECT
            S.datid AS datid,
            D.datname AS datname,
            S.pid,
            S.leader_pid,
            S.usesysid,
            U.rolname AS usename,
            S.application_name,
            S.client_addr,
            S.client_hostname,
            S.client_port,
            S.backend_start,
            S.xact_start,
            S.query_start,
            S.state_change,
            S.wait_event_type,
            S.wait_event,
            S.state,
            S.backend_xid,
            s.backend_xmin,
            S.query_id,
            S.query,
            S.backend_type
  ```
- [REL_18_6 · doc/src/sgml/monitoring.sgml:857-875](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/monitoring.sgml#L857-L875)
  Excerpt:
  ```text
  Time when the currently active query was started, or if
       <structfield>state</structfield> is not <literal>active</literal>, when the last query
       was started
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F8

### F9 · Accurate · Factual · Verified accurate: “The postmaster sees one of its children killed by a signal.”
Location: excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=The%20postmaster%20sees%20one%20of,children%20killed%20by%20a%20signal.)
Article says:
```text
The postmaster sees one of its children killed by a signal.
```
What is true:
REL_18_6 src/backend/postmaster/postmaster.c:2523-2533 calls HandleChildCrash for untracked-child exits other than normal statuses 0 and 1. Lines 3145-3215 contain shared-memory recreation and startup-child creation. These excerpts do not establish the complete recovery path or preservation of the postmaster PID.
Review: We tested the conditional reading. E-27 supports dispatch to HandleChildCrash. E-22 shows shared-memory recreation. The excerpts omit the connecting control flow and postmaster identity preservation. E-39 and E-40 establish neither.

Sources:
- [REL_18_6 · src/backend/postmaster/postmaster.c:3145-3215](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L3145-L3215)
  Excerpt:
  ```text
  /* re-create shared memory and semaphores */
		CreateSharedMemoryAndSemaphores();

		UpdatePMState(PM_STARTUP);

		/* Make sure we can perform I/O while starting up. */
		maybe_adjust_io_workers();

		StartupPMChild = StartChildProcess(B_STARTUP);
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:2523-2533](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L2523-L2533)
  Excerpt:
  ```text
  else
		{
			if (!EXIT_STATUS_0(exitstatus) && !EXIT_STATUS_1(exitstatus))
				HandleChildCrash(pid, exitstatus, _("untracked child process"));
			else
				LogChildExit(LOG, _("untracked child process"), pid, exitstatus);
		}
  ```
- [REL_18_6 · src/backend/postmaster/postmaster.c:2540-2580](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L2540-L2580)
  Excerpt:
  ```text
  if (!EXIT_STATUS_0(exitstatus) && !EXIT_STATUS_1(exitstatus))
		crashed = true;
  ```
- [REL_18_6 · src/backend/storage/lmgr/lock.c:740-749](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/lmgr/lock.c#L740-L749)
  Excerpt:
  ```text
  partitionLock = LockHashPartitionLock(locallock->hashcode);

	LWLockAcquire(partitionLock, LW_SHARED);
  ```
- [REL_18_6 · src/backend/storage/buffer/bufmgr.c:4387-4402](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/buffer/bufmgr.c#L4387-L4402)
  Excerpt:
  ```text
  smgrwrite(reln,
			  BufTagGetForkNum(&buf->tag),
			  buf->tag.blockNum,
			  bufToWrite,
			  false);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F9

### F10 · Accurate · Factual · The postmaster creates connection backends and background processes
Location: excerpt · section “Meet the Postmaster” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=Every%20connection%20gets%20its%20own.)
Article says:
```text
Every connection gets its own.
```
What is true:
REL_18_6 doc/src/sgml/arch-dev.sgml:85-145 describes a backend per connection and names the supervisor postmaster. The launch table registers checkpointer, WAL writer, and autovacuum launcher processes. Shared-memory initialization creates buffer and lock managers. The documented executable accepts postgres -D.
Charitable reading:
The process tree illustrates a normal server instance. Its paths and process titles are examples.
Review: We checked whether the process tree implies an exhaustive list or mandatory path. It illustrates normal architecture, which the cited definitions support. We tested whether the process tree claims exact deployment paths or exhaustive process membership. It presents examples. E-30 supports per-connection backends, and E-31 through E-34 support the named processes and initialization.

Sources:
- [REL_18_6 · doc/src/sgml/arch-dev.sgml:85-145](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/arch-dev.sgml#L85-L145)
  Excerpt:
  ```text
  we have to use a <quote>supervisor process</quote> that spawns a new
    backend process every time a connection is requested. This supervisor
    process is called
    <glossterm linkend="glossary-postmaster">postmaster</glossterm>
    and listens at a specified TCP/IP port for incoming connections.
  ```
- [REL_18_6 · src/backend/postmaster/launch_backend.c:198-205](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/launch_backend.c#L198-L205)
  Excerpt:
  ```text
  [B_ARCHIVER] = {"archiver", PgArchiverMain, true},
	[B_BG_WRITER] = {"bgwriter", BackgroundWriterMain, true},
	[B_CHECKPOINTER] = {"checkpointer", CheckpointerMain, true},
	[B_IO_WORKER] = {"io_worker", IoWorkerMain, true},
	[B_STARTUP] = {"startup", StartupProcessMain, true},
	[B_WAL_RECEIVER] = {"wal_receiver", WalReceiverMain, true},
	[B_WAL_SUMMARIZER] = {"wal_summarizer", WalSummarizerMain, true},
	[B_WAL_WRITER] = {"wal_writer", WalWriterMain, true},
  ```
- [REL_18_6 · src/backend/postmaster/launch_backend.c:184-184](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/launch_backend.c#L184-L184)
  Excerpt:
  ```text
  [B_AUTOVAC_LAUNCHER] = {"autovacuum launcher", AutoVacLauncherMain, true},
  ```
- [REL_18_6 · src/backend/storage/ipc/ipci.c:280-330](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/ipci.c#L280-L330)
  Excerpt:
  ```text
  BufferManagerShmemInit();

	/*
	 * Set up lock manager
	 */
	LockManagerShmemInit();
  ```
- [REL_18_6 · doc/src/sgml/runtime.sgml:362-362](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/doc/src/sgml/runtime.sgml#L362-L362)
  Excerpt:
  ```text
  $ <userinput>postgres -D /usr/local/pgsql/data</userinput>
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F10

### F12 · Accurate · Factual · The terminated-by-signal message reports process death
Location: excerpt · section “Key Takeaways” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=means%20that%20process%20didn%E2%80%99t%20handle%20the%20signal)
Article says:
```text
…means that process didn’t handle the signal…
```
What is true:
LogChildExit emits the terminated-by-signal message when WIFSIGNALED reports signal termination. REL_18_6 src/backend/postmaster/postmaster.c:2760-2860 extracts the terminating signal with WTERMSIG. This message differs from the postmaster's configuration-reload receipt.
Charitable reading:
Did not handle means the process died from SIGHUP instead of completing ordinary reload handling.
Review: We checked whether the log proves handler absence. The finding makes the narrower supported claim: WIFSIGNALED establishes signal termination. We tested whether the message proves that no handler ever existed. The finding instead verifies signal termination. Its charitable reading concerns failure to complete normal reload handling. E-38 reports the terminating signal with WTERMSIG.

Sources:
- [REL_18_6 · src/backend/postmaster/postmaster.c:2760-2860](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/postmaster/postmaster.c#L2760-L2860)
  Excerpt:
  ```text
  (errmsg("%s (PID %d) was terminated by signal %d: %s",
						procname, pid, WTERMSIG(exitstatus),
						pg_strsignal(WTERMSIG(exitstatus))),
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F12

### F14 · Accurate · Factual · SIGHUP normally requests configuration reload
Location: excerpt · section “Key Takeaways” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=Signal%201%20%28SIGHUP%29%20normally%20tells%20PostgreSQL%20to%20reload%20its%20configuration.)
Article says:
```text
…Signal 1 (SIGHUP) normally tells PostgreSQL to reload its configuration.
```
What is true:
PostgreSQL 18.6 installs SignalHandlerForConfigReload for backend SIGHUP. src/backend/tcop/postgres.c:4221 confirms the article's normal-case description.
Charitable reading:
The claim says normally and describes established backend behavior.
Review: We tested the claim against process-specific signal handling. Its normal-case qualification fits the backend's installed configuration-reload handler. We tested a universal interpretation against exceptional processes. The article says normally, and the finding specifies backend behavior. E-48 installs SignalHandlerForConfigReload for SIGHUP.

Sources:
- [REL_18_6 · src/backend/tcop/postgres.c:4221-4223](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4221-L4223)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F14

### F15 · Accurate · Factual · pg_cancel_backend sends SIGINT for statement cancellation
Location: excerpt · section “What is a Signal?” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=Cancels%20the%20current%20query%20%28%20pg_cancel_backend%28%29%20%29)
Article says:
```text
…Cancels the current query ( pg_cancel_backend() )…
```
What is true:
src/backend/storage/ipc/signalfuncs.c:138 sends SIGINT. src/backend/tcop/postgres.c:4222 installs StatementCancelHandler for that signal.
Charitable reading:
The table describes a session backend, consistent with its reference to pg_cancel_backend().
Review: We checked the table's session-backend interpretation. pg_cancel_backend sends SIGINT, and that backend installs StatementCancelHandler. We tested whether the table describes postmaster shutdown rather than backend cancellation. Its pg_cancel_backend reference establishes the session context. E-50 sends SIGINT, and E-48 installs StatementCancelHandler.

Sources:
- [REL_18_6 · src/backend/tcop/postgres.c:4221-4223](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4221-L4223)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:138-138](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L138-L138)
  Excerpt:
  ```text
  int			r = pg_signal_backend(PG_GETARG_INT32(0), SIGINT);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F15

### F16 · Accurate · Factual · pg_terminate_backend sends SIGTERM
Location: excerpt · section “What is a Signal?” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=Ends%20the%20session%20cleanly%20%28%20pg_terminate_backend%28%29%20%29)
Article says:
```text
…Ends the session cleanly ( pg_terminate_backend() )…
```
What is true:
src/backend/storage/ipc/signalfuncs.c:251 sends SIGTERM. src/backend/tcop/postgres.c:4223 installs die to cancel the current query and exit.
Charitable reading:
The table describes normal session termination through PostgreSQL's handler.
Review: We checked whether the finding promises immediate completion. It only identifies SIGTERM and the installed die handler. We tested whether SIGTERM has the same meaning for every server process. The finding concerns session backends. E-52 sends SIGTERM, and E-48 installs die for session termination.

Sources:
- [REL_18_6 · src/backend/tcop/postgres.c:4221-4223](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/tcop/postgres.c#L4221-L4223)
  Excerpt:
  ```text
  pqsignal(SIGHUP, SignalHandlerForConfigReload);
		pqsignal(SIGINT, StatementCancelHandler);	/* cancel current query */
		pqsignal(SIGTERM, die); /* cancel current query and exit */
  ```
- [REL_18_6 · src/backend/storage/ipc/signalfuncs.c:251-251](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/storage/ipc/signalfuncs.c#L251-L251)
  Excerpt:
  ```text
  r = pg_signal_backend(pid, SIGTERM);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F16

### F17 · Accurate · Factual · Verified accurate: “…This automatic recovery is controlled by the restart_after_crash setting…”
Location: excerpt · section “Why One Death Resets Everything” · as fetched 2026-10-19 · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=This%20automatic%20recovery%20is%20controlled%20by%20the%20restart_after_crash%20setting)
Article says:
```text
…This automatic recovery is controlled by the restart_after_crash setting…
```
What is true:
REL_18_6 src/backend/utils/misc/guc_tables.c:1301-1302 gives restart_after_crash a true default. E-54 establishes the default only. It does not show the recovery path or behavior when the setting is false.
Review: We separated the default from its runtime effect. E-54 establishes a true default. It contains no recovery branch showing that false causes an exit.

Sources:
- [REL_18_6 · src/backend/utils/misc/guc_tables.c:1301-1302](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/misc/guc_tables.c#L1301-L1302)
  Excerpt:
  ```text
  &restart_after_crash,
		true,
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F17

### F18 · Accurate · Factual · The linked webinar lists October 28, 2026
Location: Article · exact quote · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=join%20our%20webinar%20on%20October%2028)
Article says:
```text
…join our webinar on October 28…
```
What is true:
The linked registration page schedules the incident-triage webinar for October 28, 2026, at 2 PM GMT.
Charitable reading:
October 28 refers to the article's publication year, 2026.
Review: We checked the registration page's event identity, year, and time. It explicitly schedules this webinar for October 28, 2026. We checked whether the omitted year or time contradicts the linked schedule. The preserved registration page contains E-56 verbatim. It schedules October 28, 2026, at 2 PM GMT.

Sources:
- [https://resources.stormatics.tech/webinar-the-first-30-minutes-of-a-postgresql-incident-a-production-triage-playbook](https://resources.stormatics.tech/webinar-the-first-30-minutes-of-a-postgresql-incident-a-production-triage-playbook)
  Excerpt:
  ```text
  on 28 October 2026 at 2 PM GMT
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F18

## Notes (not graded) (1)

### F11 · Note ·  · Note: “pg_dump has no handler for signal 1…”
Location: Article · exact quote · [open in article](https://stormatics.tech/blogs/postgresql-signals-basics-part-1#:~:text=pg_dump%20has%20no%20handler%20for%20signal%201)
Article says:
```text
pg_dump has no handler for signal 1…
```
What is true:
E-36 shows pg_dump registering handlers for SIGINT, SIGTERM, and SIGQUIT. Those three lines do not establish that pg_dump has no SIGHUP handler elsewhere. We could not independently verify the broader absence claim.
Explanation: Not graded: no reader would act differently on it.
Review: We tested whether E-36 proves that pg_dump never registers SIGHUP handling. It shows only three registrations. It cannot establish absence elsewhere. The reported search has no independently inspectable result here. The narrower registration observation survives. We searched src/bin/pg_dump for SIGHUP and found no matches. The finding already preserves the inherited-signal-disposition caveat.

Sources:
- [REL_18_6 · src/bin/pg_dump/parallel.c:610-650](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/bin/pg_dump/parallel.c#L610-L650)
  Excerpt:
  ```text
  pqsignal(SIGINT, sigTermHandler);
		pqsignal(SIGTERM, sigTermHandler);
		pqsignal(SIGQUIT, sigTermHandler);
  ```

Finding URL: https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8#F11

## Withdrawn findings (0)

None.

## Section checks

- Key takeaways · B+ · 1 inaccuracy · 1 verified-accurate · 75% of claims (9 of 12, plus 1 that need data we do not have)
- Signal basics · A · 2 verified-accurate · 50% of claims (3 of 6) provisional
- Signal handling · A · 1 verified-accurate · 75% of claims (6 of 8, plus 3 that need data we do not have)
- Process architecture · A · 1 verified-accurate · 73% of claims (14 of 19, plus 1 that need data we do not have)
- Log interpretation · A · 1 verified-accurate · 66% of claims (2 of 3, plus 2 that need data we do not have)
- Crash recovery · A · 2 verified-accurate · 50% of claims (7 of 14, plus 1 that need data we do not have) provisional
- Unrelated child processes · A · 1 verified-accurate · 100% of claims (3 of 3, plus 2 that need data we do not have)
- Stopping queries · A · 1 imprecise · 1 transcription · 3 verified-accurate · 71% of claims (10 of 14, plus 2 that need data we do not have)
- Support and navigation · A · 1 verified-accurate · no checkable claims

## Claim coverage

- Introduction: no checkable claims; not counted: 2 not a claim
- Key takeaways: 9 of 12 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 not a claim; not checked: 3 for other reasons
- Incident scenario: 1 of 1 Postgres claims checked, plus 1 that need data we do not have; not counted: 6 duplicate, 7 not a claim
- Signal basics: 3 of 6 Postgres claims checked; not counted: 14 product or opinion, 2 duplicate, 1 not a claim; not checked: 3 for other reasons
- Signal handling: 6 of 8 Postgres claims checked, plus 3 that need data we do not have; not counted: 10 product or opinion, 1 duplicate, 1 not a claim; not checked: 2 for other reasons
- Process architecture: 14 of 19 Postgres claims checked, plus 1 that need data we do not have; not counted: 1 product or opinion, 1 not a claim; not checked: 5 for other reasons
- Log interpretation: 2 of 3 Postgres claims checked, plus 2 that need data we do not have; not counted: 4 duplicate, 2 not a claim; not checked: 1 for other reasons
- Crash recovery: 7 of 14 Postgres claims checked, plus 1 that need data we do not have; not counted: 5 product or opinion, 4 duplicate, 1 not a claim; not checked: 7 for other reasons
- Unrelated child processes: 3 of 3 Postgres claims checked, plus 2 that need data we do not have
- Stopping queries: 10 of 14 Postgres claims checked, plus 2 that need data we do not have; not counted: 3 product or opinion, 4 duplicate, 4 not a claim; not checked: 4 for other reasons
- Incident conclusion: 1 claim is the author's own account; nothing checkable; not counted: 3 product or opinion, 4 duplicate, 3 not a claim
- Support and navigation: no checkable claims; not counted: 3 product or opinion, 2 not a claim

## What we did not check

- We did not reproduce the article's signal and recovery scenarios.
- We did not verify the article's Linux, terminal, shell, or nohup behavior.
- We could not determine the SIGHUP disposition of the unspecified external program.
- We did not measure the performance contribution of shared memory.
- We did not verify the article's canonical URL or live formatting.
- We did not verify the hypothetical incident's process identity, signal sender, or complete logs.
- We did not check every process's crash handling or the complete recovery log sequence.
- We did not check the SSH-disconnection example or Linux out-of-memory handling.
- We did not check every process-architecture claim or configuration-reload effect.
- We did not establish when the newer process labels first appeared.
- We did not reproduce the article's examples.
- We did not verify that kill -9 causes more resets than other failure modes.
- We did not run the SQL examples or validate the illustrative recovery log against a server.
- Safe: we did not complete every applicable check.
- Section “Signal basics”: we checked 3 of 6 checkable claims.
- Section “Crash recovery”: we checked 7 of 15 checkable claims.
- We could not decide whether the article depends on finding F1.

## Notes

- A- — the findings address the article's main subject. What we did not check is listed below. The findings directly check SIGHUP handling, child-crash recovery, log interpretation, and backend cancellation against PostgreSQL 18.6 source.
- 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 3 axes: 3.77 · result A-
- Some explanatory text is not shown in this edition; the grade and findings are complete.
- Some checks did not happen for this edition, and each one we know of is listed above.
- Checked against: github.com/postgres/postgres REL_18_6 at commit 724edf9bde9d356724ad384a2e196edc3c9f80f7 (pinned target); github.com/patroni/patroni v4.1.5 at commit 235fdb3990513c7852da8dc51e9cb92b6d0e4907 (pinned target); github.com/timescale/timescaledb 2.30.2 at commit b0977bf2d3a5014ee870247be09bc19d3e9f7a5f (pinned target); https://resources.stormatics.tech/webinar-the-first-30-minutes-of-a-postgresql-incident-a-production-triage-playbook (fetched 2026-10-19T08:06:59.786049Z); https://stormatics.tech/author/shridhar-khanal (fetched 2026-10-19T08:06:52.480989Z); https://stormatics.tech/blogs/backfill-compressed-timescaledb-chunks (fetched 2026-10-19T08:07:15.150222Z); https://stormatics.tech/blogs/postgresql-internals-part-3-understanding-processes-in-postgresql (fetched 2026-10-19T08:06:57.431043Z); https://stormatics.tech/blogs/postgresql-logical-replication-monitoring-migration-part-1 (fetched 2026-10-19T08:07:13.850219Z); https://stormatics.tech/category/blogs (fetched 2026-10-19T08:06:53.665125Z); https://stormatics.tech/category/shris-planet-postgresql (fetched 2026-10-19T08:06:54.929164Z); https://stormatics.tech/contact-us (fetched 2026-10-19T08:07:00.936526Z); https://stormatics.tech/service/24-7-postgresql-support (fetched 2026-10-19T08:07:12.447841Z).
- Article captured 2026-10-19T08:06:37.550004Z · SHA-256 abac847cb9d9f52af8da9581efdead2c9fb20212e8e45f61136fd6f8c06958f4 · Text extracted from the article's HTML.
- Policy SHA-256 185458de3319c3f0d16d1df8f81dfd7584e9f5e3934df6c461672ba089b30bcb · Grading rules SHA-256 6fb334e79d6b9e7ed81d3238cc10d9de602ff87ed65ff2fa781f53bac5798765.
- We did not reproduce the signal scenarios, run the SQL examples, or validate the complete illustrative recovery log.
- We did not establish the hypothetical process's identity, signal sender, or inherited SIGHUP disposition.
- We did not check Linux terminal behavior, shell behavior, nohup, or out-of-memory handling.
- We did not check every process's crash handling or every configuration-reload effect.
- We did not measure shared-memory performance or establish when newer process labels appeared.
- We judged SQL punctuation from extracted text. We did not verify the live article's formatting.
- We could not retrieve the logging-basics or lockup-versus-stale-connection articles.
- The SQL punctuation check recorded four distinct quotations, fewer than five.
- The article gives October 9, 2026, without a time. We list that date at midnight UTC.
- source: the article names no postgres release, so it was read at REL_18_6, the latest release when it was published
- source: the article names no patroni release, so it was read at v4.1.5, the latest release when it was published
- source: the article names no timescaledb release, so it was read at 2.30.2, the latest release when it was published
- review: the findings were written by one model and reviewed independently by a different model.
- 2026-10-30: Regraded under the current grading rules: the letter is the average of the axis letters, with every cap stated under it.
- 3 passages in this edition fell short of our own plain-English rules.
- Built from the article text captured above, 3 pinned source trees, and 9 fetched pages.
- 14 survived · 3 weakened · 0 withdrawn.

## Revision history

- [Revision 1](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8?v=15) · 2026-10-13 01:09 UTC · A- · audit version not recorded · regrade version not recorded
  Article as first submitted. 5 accurate · 2 wrong · 1 caveat.
  ElephantSeal: A-.
  Changes: First audit. Open: F1 “A logging collector crash does not reset every connection” (false); F2 “pg_signal_backend membership cannot signal superuser sessions” (misleading); F3 “…Cancels the current query ( pg_cancel_backend() )…” (mostly accurate).
- [Revision 2](https://pgtrue.postgres.ai/shared/brief/22a29543-cd01-4274-9e85-110ef3c82cc8?v=19) · this page · 2026-10-19 08:06 UTC · A- · audited with v1.0.14 (approx.) · regraded with v1.1.3
  Article text changed. 13 accurate · 1 wrong · 2 caveats.
  ElephantSeal: A-.
  Changes: No longer reported: “pg_signal_backend membership cannot signal superuser sessions”; “…Cancels the current query ( pg_cancel_backend() )…”. New: F2 “The signaling permission list omits role membership and target restrictions” (mostly accurate); F3 “The printed session query contains invalid SQL punctuation” (misquoted).

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