]> granicus.if.org Git - postgresql/commitdiff
Doc: mention that you can't PREPARE TRANSACTION after NOTIFY.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2017 14:46:06 +0000 (10:46 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2017 14:46:06 +0000 (10:46 -0400)
The NOTIFY page said this already, but the PREPARE TRANSACTION page
missed it.

Discussion: https://postgr.es/m/20171024010602.1488.80066@wrigleys.postgresql.org

doc/src/sgml/ref/prepare_transaction.sgml

index 626753f5762d11b7ba8e6b0c563599179cef82aa..50a93b45dd3d4759e8beaff0ab7e2e386d9c9ce4 100644 (file)
@@ -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>