mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Doc: mention that you can't PREPARE TRANSACTION after NOTIFY.
The NOTIFY page said this already, but the PREPARE TRANSACTION page missed it. Discussion: https://postgr.es/m/20171024010602.1488.80066@wrigleys.postgresql.org
This commit is contained in:
parent
036b6bd503
commit
0ff56a59d2
@ -100,7 +100,8 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
|
||||
It is not currently allowed to <command>PREPARE</> a transaction that
|
||||
has executed any operations involving temporary tables,
|
||||
created any cursors <literal>WITH HOLD</>, or executed
|
||||
<command>LISTEN</> or <command>UNLISTEN</>.
|
||||
<command>LISTEN</>, <command>UNLISTEN</>, or
|
||||
<command>NOTIFY</>.
|
||||
Those features are too tightly
|
||||
tied to the current session to be useful in a transaction to be prepared.
|
||||
</para>
|
||||
|
Loading…
x
Reference in New Issue
Block a user