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:04:08
Message-ID: E1cnWCO-0000pL-1d@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/43c79c7d68044cb804ddf8f549dfc4cb895f8542

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 Tom Lane 2017-03-13 20:47:27 pgsql: Remove unnecessary dependency on statement_timeout in prepared_x
Previous Message Michael Meskes 2017-03-13 20:03:31 pgsql: Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.