mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 22:27:20 +02:00
doc: restore wording from recent patch "rolled back to"
Reported-by: Tom Lane Discussion: https://postgr.es/m/31072.1585690490@sss.pgh.pa.us Backpatch-through: 9.5 - 12
This commit is contained in:
parent
6a4c58158b
commit
e564c17d2a
@ -1041,7 +1041,7 @@ ERROR: could not serialize access due to read/write dependencies among transact
|
|||||||
<para>
|
<para>
|
||||||
Once acquired, a lock is normally held until the end of the transaction. But if a
|
Once acquired, a lock is normally held until the end of the transaction. But if a
|
||||||
lock is acquired after establishing a savepoint, the lock is released
|
lock is acquired after establishing a savepoint, the lock is released
|
||||||
immediately if the savepoint is rolled back. This is consistent with
|
immediately if the savepoint is rolled back to. This is consistent with
|
||||||
the principle that <command>ROLLBACK</command> cancels all effects of the
|
the principle that <command>ROLLBACK</command> cancels all effects of the
|
||||||
commands since the savepoint. The same holds for locks acquired within a
|
commands since the savepoint. The same holds for locks acquired within a
|
||||||
<application>PL/pgSQL</application> exception block: an error escape from the block
|
<application>PL/pgSQL</application> exception block: an error escape from the block
|
||||||
|
Loading…
Reference in New Issue
Block a user