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: Document reopen of output file via SIGHUP in pg_recvlogical
Date: Sun, 20 Jul 2025 03:03:08 +0000
Message-ID: <E1udKKR-007BwY-2y@gemulon.postgresql.org> (raw)

doc: Document reopen of output file via SIGHUP in pg_recvlogical.

When pg_recvlogical receives a SIGHUP signal, it closes the current
output file and reopens a new one. This is useful since it allows us to
rotate the output file by renaming the current file and sending a SIGHUP.

This behavior was previously undocumented. This commit adds
the missing documentation.

Back-patch to all supported versions.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Shinya Kato <shinya11.kato@gmail.com>
Discussion: https://postgr.es/m/0977fc4f-1523-4ecd-8a0e-391af4976367@oss.nttdata.com
Backpatch-through: 13

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/227d0ce18af90f89a9e886ddbc0bb8aaf2ec2750

Modified Files
--------------
doc/src/sgml/ref/pg_recvlogical.sgml | 10 ++++++++++
1 file changed, 10 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1udKKR-007BwY-2y@gemulon.postgresql.org>
Permalink:  ../E1udKKR-007BwY-2y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1udKKR-007BwY-2y@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: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Document reopen of output file via SIGHUP in pg_recvlogical
  In-Reply-To: <E1udKKR-007BwY-2y@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