pgsql: Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.
Date: 2017-03-13 20:03:31
Message-ID: E1cnWBn-0000nz-0C@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.

The problem was that "begin transaction" was issued automatically
before executing COMMIT/ROLLBACK PREPARED if not in auto commit. This fix by
Masahiko Sawada fixes this.

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f08a90ecd27cedbb53bd082d2fc1b5461f92ab16

Modified Files
--------------
src/interfaces/ecpg/ecpglib/misc.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2017-03-13 20:04:08 pgsql: Add test case for two phase commit. Also by Masahiko Sawada.
Previous Message Tom Lane 2017-03-13 19:58:06 Re: pgsql: dblink: Replace some macros by static functions