diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index f37f100c6a2..c843be78488 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -14888,8 +14888,8 @@ SELECT (pg_stat_file('filename')).modification;
pg_advisory_xact_lock> works the same as
- pg_advisory_lock>, expect the lock is automatically released
- at the end of the current transaction and can not be released explicitly.
+ pg_advisory_lock>, except the lock is automatically released
+ at the end of the current transaction and cannot be released explicitly.
@@ -14897,8 +14897,8 @@ SELECT (pg_stat_file('filename')).modification;
pg_advisory_xact_lock_shared> works the same as
- pg_advisory_lock_shared>, expect the lock is automatically released
- at the end of the current transaction and can not be released explicitly.
+ pg_advisory_lock_shared>, except the lock is automatically released
+ at the end of the current transaction and cannot be released explicitly.
@@ -14906,9 +14906,9 @@ SELECT (pg_stat_file('filename')).modification;
pg_try_advisory_xact_lock> works the same as
- pg_try_advisory_lock>, expect the lock, if acquired,
+ pg_try_advisory_lock>, except the lock, if acquired,
is automatically released at the end of the current transaction and
- can not be released explicitly.
+ cannot be released explicitly.
@@ -14916,9 +14916,9 @@ SELECT (pg_stat_file('filename')).modification;
pg_try_advisory_xact_lock_shared> works the same as
- pg_try_advisory_lock_shared>, expect the lock, if acquired,
+ pg_try_advisory_lock_shared>, except the lock, if acquired,
is automatically released at the end of the current transaction and
- can not be released explicitly.
+ cannot be released explicitly.