pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Clarify the logging collector's guarantees.
Date: Fri, 14 Aug 2026 20:28:27 +0000
Message-ID: <E1wuyVu-00000000acD-33WZ@gemulon.postgresql.org> (raw)

doc: Clarify the logging collector's guarantees.

Presently, the documentation for logging_collector says that the
collector "is designed to never lose messages," which reads as a
stronger promise than we actually make.  The collector does not
fsync the log file or retry failed writes, so log messages can go
missing after an operating system crash, power loss, or a write
error.  Reword that sentence and add a note about what is not
guaranteed.

Author: Daniel Bauman <danielbaniel@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Zhenwei Shang <a934172442@gmail.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Discussion: https://postgr.es/m/CAMtj0_a86DdDKkW-ReVpQpqjndVS6GMrwXVpQY4G3-SGY7saMQ%40mail.gmail.com
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/786db8dcf168bd9df8f55047337525ac19118b1c

Modified Files
--------------
doc/src/sgml/config.sgml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1wuyVu-00000000acD-33WZ@gemulon.postgresql.org>
Permalink:  ../E1wuyVu-00000000acD-33WZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wuyVu-00000000acD-33WZ@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Clarify the logging collector's guarantees.
  In-Reply-To: <E1wuyVu-00000000acD-33WZ@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