Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4C21A6325FF for ; Thu, 9 Apr 2009 07:06:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 63648-06 for ; Thu, 9 Apr 2009 07:05:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx1.ign.fr (smtp1.ign.fr [192.134.133.226]) by mail.postgresql.org (Postfix) with ESMTP id 58DFD63233B for ; Thu, 9 Apr 2009 07:05:57 -0300 (ADT) Received: from newsmtp.ign.fr (newpop.ign.fr [172.21.0.149]) by mx1.ign.fr (8.14.3/8.14.3/Debian-5) with ESMTP id n39A75pO028953; Thu, 9 Apr 2009 12:07:06 +0200 Received: from DEL9323970 (del-9323970.ign.fr [172.16.0.113]) by newsmtp.ign.fr (Postfix) with ESMTP id E1C17D4CA13; Thu, 9 Apr 2009 12:05:43 +0200 (CEST) From: "olivier dorie" To: "'Hiroshi Inoue'" Cc: Subject: Re: driver ODBC-PostreSQL, cursor and transaction isolation level Date: Thu, 9 Apr 2009 12:05:53 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_02AF_01C9B90B.888A3EB0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acm4+qBSA5uqP9XSSxiD7OgI96meKg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200904/6 X-Sequence-Number: 9825 This is a multi-part message in MIME format. ------=_NextPart_000_02AF_01C9B90B.888A3EB0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_02AF_01C9B90B.888A3EB0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

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

 

 

 

------=_NextPart_000_02AF_01C9B90B.888A3EB0--