diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 3cf896b22fa..0f7154b76ab 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -28990,7 +28990,7 @@ pg_current_wal_insert_lsn
Then an application could run pg_wal_replay_wait
with the lsn obtained from primary. After that the
- changes made of primary should be guaranteed to be visible on replica.
+ changes made on primary should be guaranteed to be visible on replica.
postgres=# CALL pg_wal_replay_wait('0/306EE20');