pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Glen Parker <glenebob@nwlink.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Driver confused by explicit transactions
Date: Sun, 8 Dec 2002 09:51:31 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net>

> -----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



view thread (5+ messages)

Message-ID: <EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp>
Permalink:  ../EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp/
Also on:    postgresql.org/message-id/EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: Inoue@tpf.co.jp, glenebob@nwlink.com
  Subject: Re: Driver confused by explicit transactions
  In-Reply-To: <EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp>
  References: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net> <EKEJJICOHDIEMGPNIFIJIEAMKAAA.Inoue@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox