X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 80F8411F61B9 for ; Fri, 28 Apr 2006 05:23:28 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 11356-09-2 for ; Fri, 28 Apr 2006 05:23:20 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 3E28011F60B9 for ; Fri, 28 Apr 2006 05:23:19 -0300 (ADT) Received: from localhost (mx1.hub.org [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id 3183686C506; Fri, 28 Apr 2006 08:23:20 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 16606-01; Fri, 28 Apr 2006 05:23:10 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 92FC486C509; Fri, 28 Apr 2006 08:23:10 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000413 ] Optimistic lock cannot be used with updateable cursors Content-type: text/plain; charset=UTF-8 Message-Id: <20060428082310.92FC486C509@pgfoundry.org> Date: Fri, 28 Apr 2006 08:23:10 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/125 X-Sequence-Number: 7652 Bugs item #1000413, was opened at 2005-11-07 11:33 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000413&group_id=1000125 Category: None Group: None >Status: Closed Resolution: None Priority: 3 Submitted By: Dave Page (dpage) Assigned to: Nobody (None) Summary: Optimistic lock cannot be used with updateable cursors Initial Comment: When using VB/ADO, adLockOptimistic or adLockBatchOptimistic when used with adOpenStatic or adOpenKeyset will cause a crash if UpdateableCursors are enabled. Sample VB code: Dim cn As New Connection Dim rs As New Recordset cn.Open "DSN=foo;UID=postgres;UpdatableCursors=1" rsSQL.Open "SELECT * FROM pg_class", cn, adOpenStatic, adLockOptimistic ---------------------------------------------------------------------- >Comment By: Dave Page (dpage) Date: 2006-04-28 08:23 Message: PRevious codebase - closing. ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000413&group_id=1000125