Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e4fbf22

Browse files
committed
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
1 parent 94d622f commit e4fbf22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ref/prepare_transaction.sgml

+2-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ PREPARE TRANSACTION <replaceable class="parameter">transaction_id</replaceable>
100100
It is not currently allowed to <command>PREPARE</command> a transaction that
101101
has executed any operations involving temporary tables,
102102
created any cursors <literal>WITH HOLD</literal>, or executed
103-
<command>LISTEN</command> or <command>UNLISTEN</command>.
103+
<command>LISTEN</command>, <command>UNLISTEN</command>, or
104+
<command>NOTIFY</command>.
104105
Those features are too tightly
105106
tied to the current session to be useful in a transaction to be prepared.
106107
</para>

0 commit comments

Comments
 (0)