Re: Driver confused by explicit transactions - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Driver confused by explicit transactions
Date
Msg-id EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp
Whole thread Raw
In response to Re: Driver confused by explicit transactions  ("Glen Parker" <glenebob@nwlink.com>)
List pgsql-odbc
> -----Original Message-----
> From: Glen Parker [mailto:glenebob@nwlink.com]
>
> > > It appears there is a somewhat on-going bug in the ODBC driver
> > > (07.02.0005 in this case) concerning explicit transactions.  The
> > > following sequence demonstrates it.
> >
> > What do you mean by explicit transactions ? i. e
> >
> > > Begin transaction   (OK)
> >
> >    How do you begin the transaction ?
>
> By turning off auto-commit with a call to SQLSetConnectOption().
>
> > > Execute update statement(s)   (OK, records hidden from other
> > > transactions)
> > > Commit transaction    (OK, records appear to other transactions)
> >
> >   And how do you commit the transaction ?
>
> With a call to SQLTransact() to either commit or abort transaction.

Should SQLTransact() turn on auto-commit ?

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: "Glen Parker"
Date:
Subject: Re: Driver confused by explicit transactions
Next
From: Adrian Klaver
Date:
Subject: Access and rules