doc: Document reopen of output file via SIGHUP in pg_recvlogical.
authorFujii Masao <fujii@postgresql.org>
Sun, 20 Jul 2025 03:00:46 +0000 (12:00 +0900)
committerFujii Masao <fujii@postgresql.org>
Sun, 20 Jul 2025 03:00:46 +0000 (12:00 +0900)
commitf4a67e52b2a1a4f74297efdf3b3613b420d852f9
treeb7610b57cfba6b800c89c0c9fa2ea390541db92b
parent9f270f48f3fed358d62e13ec8c090124d47d86a0
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
doc/src/sgml/ref/pg_recvlogical.sgml