diff options
| author | Tom Lane | 2017-10-27 14:46:06 +0000 |
|---|---|---|
| committer | Tom Lane | 2017-10-27 14:46:06 +0000 |
| commit | 1c715f1713a01b33ea2768bd8789a6e9ebfe8b39 (patch) | |
| tree | 98e5fb14b0b62690071e68fc23feb699deef82cc /doc/src/sgml | |
| parent | 351d9b7d4e2539de6dd6b948a5ba128f07032b0b (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/20171024010602.1488.80066@wrigleys.postgresql.org
Diffstat (limited to 'doc/src/sgml')
| -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 626753f5762..50a93b45dd3 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</> 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> |
