diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index 6b1d98d06ef..e4b3955edca 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -46,6 +46,16 @@ PostgreSQL documentation
a slot without consuming it, use
pg_logical_slot_peek_changes.
+
+
+ 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.
+