pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Correct the description of server behavior after an OOM kil
Date: Fri, 16 Oct 2026 13:44:48 +0000
Message-ID: <E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org> (raw)

doc: Correct the description of server behavior after an OOM kill

The documentation stated that existing connections would continue to
function normally after the OOM killer terminated the postmaster.
In fact, those connections eventually terminate when server processes
detect the postmaster's death.

Clarify that the OOM killer can terminate either the postmaster or a
child process. If the postmaster is killed, the server must be restarted.
If a child process is killed, PostgreSQL typically terminates the
remaining connections and either recovers automatically or shuts down,
depending on restart_after_crash.

Backpatch to all supported versions.

Author: Takeshi Ideriha <iderihatakeshi@gmail.com>
Reviewed-by: Manuel Reyes Bravo <manuelreyesbravo@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/ce269321-a7f4-48f4-a9ca-a4a4983b9fd6@gmail.com
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dfbc1507cdb5aed65d420b620960abaf1cdd9fd2

Modified Files
--------------
doc/src/sgml/runtime.sgml | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org>
Permalink:  ../E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: doc: Correct the description of server behavior after an OOM kil
  In-Reply-To: <E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org>
  References: <E1xHiEq-00000001sSV-0pUh@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox