diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 1657a32eb3c..f4754588ae7 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -16654,7 +16654,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
slot_name using the output plugin
plugin. A call to this function has the same
effect as the replication protocol command
- CREATE REPLICATION SLOT ... LOGICAL.
+ CREATE_REPLICATION_SLOT ... LOGICAL.