Skip to content
Snippets Groups Projects
Commit 7b233fce authored by Tom Lane's avatar Tom Lane
Browse files

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
parent 965a16fa
No related branches found
No related tags found
No related merge requests found
...@@ -100,7 +100,8 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable> ...@@ -100,7 +100,8 @@ PREPARE TRANSACTION <replaceable class="PARAMETER">transaction_id</replaceable>
It is not currently allowed to <command>PREPARE</> a transaction that It is not currently allowed to <command>PREPARE</> a transaction that
has executed any operations involving temporary tables, has executed any operations involving temporary tables,
created any cursors <literal>WITH HOLD</>, or executed 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 Those features are too tightly
tied to the current session to be useful in a transaction to be prepared. tied to the current session to be useful in a transaction to be prepared.
</para> </para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment