diff options
author | Tom Lane | 2017-10-27 14:46:06 +0000 |
---|---|---|
committer | Tom Lane | 2017-10-27 14:46:29 +0000 |
commit | e4fbf22831c2bbcf032ee60a327b871d2364b3f5 (patch) | |
tree | 39eef52a7d12e0c18500cca206a44a32ffa4448a | |
parent | 94d622f27be6d48e61a68496da4f2efb06fe8746 (diff) |
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/[email protected]
-rw-r--r-- | doc/src/sgml/ref/prepare_transaction.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/prepare_transaction.sgml b/doc/src/sgml/ref/prepare_transaction.sgml index 6a1766ed3c..990546a8c7 100644 --- a/doc/src/sgml/ref/prepare_transaction.sgml +++ b/doc/src/sgml/ref/prepare_transaction.sgml @@ -100,7 +100,8 @@ PREPARE TRANSACTION <replaceable class="parameter">transaction_id</replaceable> It is not currently allowed to <command>PREPARE</command> a transaction that has executed any operations involving temporary tables, created any cursors <literal>WITH HOLD</literal>, or executed - <command>LISTEN</command> or <command>UNLISTEN</command>. + <command>LISTEN</command>, <command>UNLISTEN</command>, or + <command>NOTIFY</command>. Those features are too tightly tied to the current session to be useful in a transaction to be prepared. </para> |