summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-10-27 10:46:07 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-10-27 10:46:07 -0400
commitf39fc2b27d2b61827d65562e222d5177a1b4dfe0 (patch)
tree761b5fdae040450ccfd15cb686177add8c7ff403
parentd5fb450aab740b52601b4bfb354c4be2662a940b (diff)
downloadpostgresql-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.sgml3
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>