diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index f68182266a9..263ebdeeab4 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -53,6 +53,16 @@ PostgreSQL documentation
(ControlC)
or SIGTERM signal.
+
+
+ When pg_recvlogical receives
+ a SIGHUP signal, it closes the current output file
+ and opens a new one using the filename specified by
+ the option. This allows us to rotate
+ the output file by first renaming the current file and then sending
+ a SIGHUP signal to
+ pg_recvlogical.
+