pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glen Parker <glenebob@nwlink.com>
To: 'Hiroshi Inoue' <Inoue@tpf.co.jp>
To: pgsql-odbc@postgresql.org
Subject: Re: Driver confused by explicit transactions
Date: Sat, 7 Dec 2002 15:27:08 -0800
Message-ID: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net> (raw)
In-Reply-To: <EKEJJICOHDIEMGPNIFIJOEAGKAAA.Inoue@tpf.co.jp>

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

Glen




view thread (5+ messages)  latest in thread

Message-ID: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net>
Permalink:  ../02d001c29e48$2a59b030$0b01a8c0@johnpark.net/
Also on:    postgresql.org/message-id/02d001c29e48$2a59b030$0b01a8c0@johnpark.net

 · 

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: glenebob@nwlink.com, Inoue@tpf.co.jp
  Subject: Re: Driver confused by explicit transactions
  In-Reply-To: <02d001c29e48$2a59b030$0b01a8c0@johnpark.net>
  References: <EKEJJICOHDIEMGPNIFIJOEAGKAAA.Inoue@tpf.co.jp> <02d001c29e48$2a59b030$0b01a8c0@johnpark.net>

* 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