Re: [PATCHES] [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction

2005-08-13 Thread Michael Fuhr
On Fri, Aug 12, 2005 at 10:22:32PM -0400, Bruce Momjian wrote: > Michael Fuhr wrote: > > ECPG ignores SAVEPOINT if it's the first statement of a transaction: ECPGtrans() ignores the statement because of this check: /* * if we are not in autocommit mode, already have committed the * transa

Re: [PATCHES] [HACKERS] ECPG ignores SAVEPOINT if first statement of a transaction

2005-08-12 Thread Bruce Momjian
Would someone on the interface list look for a fix to this? Thanks. --- Michael Fuhr wrote: > ECPG ignores SAVEPOINT if it's the first statement of a transaction: > > % cat foo.pgc > int > main(void) > { > EXEC SQL WHE