Ecpg should support COMMIT PREPARED and ROLLBACK PREPARED.

Michael Meskes <meskes@postgresql.org>

Commit: e060baaad1ed6c2e1cc9758d8ba3c770c8f27595
Author: Michael Meskes <meskes@postgresql.org>
Date: 2017-03-13T19:51:56Z
Releases: 9.4.12
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