From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000413 ] Optimistic lock cannot be used with updateable cursors
Date: Fri, 28 Apr 2006 08:23:10 +0000 (UTC)
Message-ID: <20060428082310.92FC486C509@pgfoundry.org> (raw)
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
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000413 ] Optimistic lock cannot be used with updateable cursors
In-Reply-To: <20060428082310.92FC486C509@pgfoundry.org>
References: <20060428082310.92FC486C509@pgfoundry.org>
* 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