Re: [HACKERS] Two phase commit in ECPG - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [HACKERS] Two phase commit in ECPG
Date
Msg-id 1488568292.2280.2.camel@postgresql.org
Whole thread Raw
In response to [HACKERS] Two phase commit in ECPG  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: [HACKERS] Two phase commit in ECPG
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] DROP SUBSCRIPTION and ROLLBACK
Next
From: "Daniel Verite"
Date:
Subject: Re: [HACKERS] One-shot expanded output in psql using \gx