diff --git a/doc/src/sgml/replication-origins.sgml b/doc/src/sgml/replication-origins.sgml
index c5310229119..0cd08ee6b5f 100644
--- a/doc/src/sgml/replication-origins.sgml
+++ b/doc/src/sgml/replication-origins.sgml
@@ -60,7 +60,7 @@
function. Additionally the LSN and commit
timestamp of every source transaction can be configured on a per
transaction basis using
- pg_replication_origin_xact-setup().
+ pg_replication_origin_xact_setup().
If that's done replication progress will be persist in a crash safe
manner. Replay progress for all replication origins can be seen in the