aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2019-11-08 17:00:37 +0900
committerEtsuro Fujita <efujita@postgresql.org>2019-11-08 17:00:37 +0900
commitb260ce9c19b64e0430d89f8cc586fc8f6df5ee07 (patch)
tree2ed1e0376f133f0325be86c91835a5f508062db7 /doc/src
parentb7ee1d345b68b0cecfc3c2f2e2f99ab2c4371964 (diff)
downloadpostgresql-b260ce9c19b64e0430d89f8cc586fc8f6df5ee07.tar.gz
postgresql-b260ce9c19b64e0430d89f8cc586fc8f6df5ee07.zip
postgres_fdw: Fix error message for PREPARE TRANSACTION.
Currently, postgres_fdw does not support preparing a remote transaction for two-phase commit even in the case where the remote transaction is read-only, but the old error message appeared to imply that that was not supported only if the remote transaction modified remote tables. Change the message so as to include the case where the remote transaction is read-only. Also fix a comment above the message. Also add a note about the lack of supporting PREPARE TRANSACTION to the postgres_fdw documentation. Reported-by: Gilles Darold Author: Gilles Darold and Etsuro Fujita Reviewed-by: Michael Paquier and Kyotaro Horiguchi Backpatch-through: 9.4 Discussion: https://postgr.es/m/08600ed3-3084-be70-65ba-279ab19618a5%40darold.net
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/postgres-fdw.sgml6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/sgml/postgres-fdw.sgml b/doc/src/sgml/postgres-fdw.sgml
index 7c922821e98..48e0ad27563 100644
--- a/doc/src/sgml/postgres-fdw.sgml
+++ b/doc/src/sgml/postgres-fdw.sgml
@@ -415,6 +415,12 @@
COMMITTED</> local transaction. A future
<productname>PostgreSQL</productname> release might modify these rules.
</para>
+
+ <para>
+ Note that it is currently not supported by
+ <filename>postgres_fdw</filename> to prepare the remote transaction for
+ two-phase commit.
+ </para>
</sect2>
<sect2>