diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 8dd69337f1..2b8298c3e0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -15024,8 +15024,8 @@ SELECT (pg_stat_file('filename')).modification; </indexterm> <para> <function>pg_advisory_xact_lock</> works the same as - <function>pg_advisory_lock</>, expect the lock is automatically released - at the end of the current transaction and can not be released explicitly. + <function>pg_advisory_lock</>, except the lock is automatically released + at the end of the current transaction and cannot be released explicitly. </para> <indexterm> @@ -15033,8 +15033,8 @@ SELECT (pg_stat_file('filename')).modification; </indexterm> <para> <function>pg_advisory_xact_lock_shared</> works the same as - <function>pg_advisory_lock_shared</>, expect the lock is automatically released - at the end of the current transaction and can not be released explicitly. + <function>pg_advisory_lock_shared</>, except the lock is automatically released + at the end of the current transaction and cannot be released explicitly. </para> <indexterm> @@ -15042,9 +15042,9 @@ SELECT (pg_stat_file('filename')).modification; </indexterm> <para> <function>pg_try_advisory_xact_lock</> works the same as - <function>pg_try_advisory_lock</>, expect the lock, if acquired, + <function>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. </para> <indexterm> @@ -15052,9 +15052,9 @@ SELECT (pg_stat_file('filename')).modification; </indexterm> <para> <function>pg_try_advisory_xact_lock_shared</> works the same as - <function>pg_try_advisory_lock_shared</>, expect the lock, if acquired, + <function>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. </para> <indexterm>