[ psqlodbc-Bugs-1000413 ] Optimistic lock cannot be used with updateable cursors

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000413 ] Optimistic lock cannot be used with updateable cursors
Date: 2005-11-07 11:33:30
Message-ID: 20051107113330.7D6B71125019@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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: Open
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

----------------------------------------------------------------------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000413&group_id=1000125

Browse pgsql-odbc by date

  From Date Subject
Next Message Leendert Paul Diterwich 2005-11-07 11:55:31 Re: Bug with version 08.01.0100 ?
Previous Message Dave Page 2005-11-07 11:29:40 Re: Bug with version 08.01.0100 ?