Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.

Michael Meskes <meskes@postgresql.org>

Commit: 43c79c7d68044cb804ddf8f549dfc4cb895f8542
Author: Michael Meskes <meskes@postgresql.org>
Date: 2017-03-13T20:03:55Z
Releases: 10.0
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.

Files

PathChange+/−
src/interfaces/ecpg/ecpglib/misc.c modified +8 −2