diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-10-27 10:46:07 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-10-27 10:46:07 -0400 |
commit | f39fc2b27d2b61827d65562e222d5177a1b4dfe0 (patch) | |
tree | 761b5fdae040450ccfd15cb686177add8c7ff403 | |
parent | d5fb450aab740b52601b4bfb354c4be2662a940b (diff) | |
download | postgresql-f39fc2b27d2b61827d65562e222d5177a1b4dfe0.tar.gz |
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
-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 a379819a0a..3c55475540 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> |