Re: [PATCH][DOC] Fix for PREPARE TRANSACTION doc and postgres_fdw message.

Etsuro Fujita <etsuro.fujita@gmail.com>

From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: Gilles Darold <gilles@darold.net>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-08T08:20:33Z
Lists: pgsql-hackers
Hi Gilles,

On Fri, Nov 8, 2019 at 4:55 PM Gilles Darold <gilles@darold.net> wrote:
> Le 07/11/2019 à 11:52, Etsuro Fujita a écrit :
> > On Thu, Nov 7, 2019 at 5:31 PM Kyotaro Horiguchi
> > <horikyota.ntt@gmail.com> wrote:
> >> I forgot to mention that the comment in XACT_EVENT_PRE_PREPARE
> >> contains the same mistake and needs more or less the same fix.
> > Good catch!  How about rewriting "We disallow remote transactions that
> > modified anything" in the comment simply to "We disallow any remote
> > transactions" or something like that?  Attached is an updated patch.
> > In the patch, I did s/prepare/PREPARE/ to the error message as well,
> > as you proposed.

> Looks good for me,
>
> --
> Gilles Darold
>



Commits

  1. Add regression test for two-phase transaction in postgres_fdw

  2. postgres_fdw: Fix error message for PREPARE TRANSACTION.