X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 0FD9B9DC9D1 for ; Fri, 20 Jan 2006 12:24:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00285-09 for ; Fri, 20 Jan 2006 12:24:33 -0400 (AST) X-Greylist: delayed 00:27:56.206399 by SQLgrey- Received: from smtp-out.completel.net (smtp-out.completel.net [83.145.110.35]) by postgresql.org (Postfix) with ESMTP id 5CD5B9DC87D for ; Fri, 20 Jan 2006 12:24:32 -0400 (AST) Received: from continuent.com (unknown [83.145.96.118]) by smtp-out.completel.net (Postfix) with SMTP id D415725C149 for ; Fri, 20 Jan 2006 16:56:31 +0100 (CET) Received: (nullmailer pid 8779 invoked by uid 20104); Fri, 20 Jan 2006 15:56:31 -0000 Date: Fri, 20 Jan 2006 16:56:31 +0100 From: Marc Herbert To: pgsql-odbc@postgresql.org Subject: Re: Updates on updates Message-ID: <20060120155631.GA8690@continuent.com> References: <43CCBDA0.2070805@shemesh.biz> <43CFB50A.1030904@lingnu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CFB50A.1030904@lingnu.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.757 required=5 tests=[AWL=0.757] X-Spam-Score: 0.757 X-Spam-Level: X-Archive-Number: 200601/202 X-Sequence-Number: 7017 On Thu, Jan 19, 2006 at 05:49:30PM +0200, Shachar Shemesh wrote: > > >But what happens if you lower the transaction isolation level to "read > >committed"? do the assertions above still hold? > > > Dynaset views should remain updated outside of ANY transaction. In any > case, we do not control the transaction isolation level. We are just a > driver. Sorry in advance if I misunderstand you, but a high isolation level and a dynamic cursor are incompatible with each other. You cannot be both isolated and aware of every update that's going on at the same time. So you cannot just let the user enable snapshot isolation if you want to implement a dynamic cursor.