From 1d1f425f8d4331ecf09512386880af0827cd6091 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 25 Jan 2010 18:23:10 +0000 Subject: Add note that PREPARE TRANSACTION is for transaction managers, not regular applications. Also add a comment pointing out that tab-complition for PREPARE TRANSACTION is missing on purpose. --- doc/src/sgml/ref/prepare_transaction.sgml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/prepare_transaction.sgml b/doc/src/sgml/ref/prepare_transaction.sgml index b8b8d8aca83..da304c72550 100644 --- a/doc/src/sgml/ref/prepare_transaction.sgml +++ b/doc/src/sgml/ref/prepare_transaction.sgml @@ -1,5 +1,5 @@ @@ -82,6 +82,15 @@ PREPARE TRANSACTION transaction_id Notes + + PREPARE TRANSACTION is not intended for use in applications + or interactive sessions. It's purpose is to allow an external + transaction manager to perform atomic global transactions across multiple + databases or other transactional resources. Unless you're writing a + transaction manager, you probably shouldn't be using PREPARE + TRANSACTION. + + This command must be used inside a transaction block. Use to start one. -- cgit v1.2.3