pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: olivier dorie <olivier.dorie@ign.fr>
To: 'Hiroshi Inoue' <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: driver ODBC-PostreSQL, cursor and transaction isolation level
Date: Thu, 9 Apr 2009 12:05:53 +0200
Message-ID: <BE4709A172724255A0FE956FCF246126@ign.fr> (raw)

Hi Hiroshi,

 

Sorry for my last message, I made some mistakes in my tests.

 

Since, I have made others tests with begintrans with (the driver 8.4.0100
and the driver 8.3.4): 

*         No dirty read 

*         Read committed

*         Serializable

 

I use the server settings or ExecuteSQL("SET ISOLATION LEVEL ..")

 

All tests give good results.

 

Regards

 

Olivier

 

Hi Olivier,

 

olivier dorie wrote:

> Hiroshi,

> 

> Thank you for your answer.

> 

> I try the 2 solutions (BeginTrans and the driver 8.4.0100) and the two 

> of them work: in the small test, I describe in the last mail, the 

> transaction is serializable.

> 

> I have a last question: with BeginTrans or with the driver  8.4.0100, 

> the transaction isolation level is every time serializable ?

 

Why do you think so?

Your example doesn't seem to show us the difference.

 

 > Is it possible to

> have a read committed level?

 

It's determined by the server setting. The default is read committed.

 

regards,

Hiroshi Inoue

 

 

 

view thread (7+ messages)  latest in thread

Message-ID: <BE4709A172724255A0FE956FCF246126@ign.fr>
Permalink:  ../BE4709A172724255A0FE956FCF246126@ign.fr/
Also on:    postgresql.org/message-id/BE4709A172724255A0FE956FCF246126@ign.fr

 · 

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: olivier.dorie@ign.fr, inoue@tpf.co.jp
  Subject: Re: driver ODBC-PostreSQL, cursor and transaction isolation level
  In-Reply-To: <BE4709A172724255A0FE956FCF246126@ign.fr>
  References: <BE4709A172724255A0FE956FCF246126@ign.fr>

* 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