git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 94d622f)
Doc: mention that you can't PREPARE TRANSACTION after NOTIFY.
2017年10月27日 14:46:06 +0000 (10:46 -0400)
2017年10月27日 14:46:29 +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


diff --git a/doc/src/sgml/ref/prepare_transaction.sgml b/doc/src/sgml/ref/prepare_transaction.sgml
index 6a1766ed3cbd40ad8a5817f013ca3db2eabe9a51..990546a8c7285bc6e7f525c0e62a3378dc71b8b0 100644 (file)
--- 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>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /