From: Michael Meskes <meskes@postgresql.org>
To: Masahiko Sawada <sawada.mshk@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
To: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: [HACKERS] Two phase commit in ECPG
Date: Fri, 03 Mar 2017 20:11:32 +0100
Message-ID: <1488568292.2280.2.camel@postgresql.org> (raw)
In-Reply-To: <CAD21AoDZTi+C06oF3-i15r-ZMx+cCx7PjK_m859YKA-08CbyHw@mail.gmail.com>
References: <CAD21AoDZTi+C06oF3-i15r-ZMx+cCx7PjK_m859YKA-08CbyHw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Dear Sawada-san,
> This cause is that the "begin transaction" is issued automatically
> before executing COMMIT PREPARED if we're not in auto commit. The
> Commit 816b008eaf1a1ff1069f3bafff363a9a8bf04a21 fixed bug of
> incorrect
> status calculation but at the same time it became the cause of this
> behavior.
> Is this a bug?
I'd say so, yes.
As soon as I find time I'll get to it including back porting your
patch.
Thank you very much for spotting and fixing.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: meskes@postgresql.org, sawada.mshk@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Two phase commit in ECPG
In-Reply-To: <1488568292.2280.2.camel@postgresql.org>
References: <CAD21AoDZTi+C06oF3-i15r-ZMx+cCx7PjK_m859YKA-08CbyHw@mail.gmail.com> <1488568292.2280.2.camel@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox