pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas <maps.on@gmx.net>
To: pgsql-odbc@postgresql.org
Subject: psqlODBC 09.00.0101 issue with adodb and  adLockOptimistic
Date: Fri, 22 Oct 2010 21:41:47 +0200
Message-ID: <4CC1E8FB.6040506@gmx.net> (raw)

Hi,

PG 8.4.4 on WinXP

I recently installed psqlODBC 09.00.0101 and now a piece of access-vba 
doesn't work anymore.
It's just those few lines that open recordsets for writing within my 
application.

     Dim rst As New ADODB.Recordset

     With rst
         .CursorLocation = adUseServer
         .CursorType = adOpenDynamic
         .LockType = adLockOptimistic
         .Open strSQL, gpgconn.objConn, , , adCmdText
     end with

It apeares there is an issue with adodb and  adLockOptimistic now.
When I switch to adLockPessimistic it works a bit better.
Now I can add a new record as well as write some values then close the 
recordset.
Shortly after I need to change some data in this record so I select the 
previously new created record with it's primary key and now I can write 
to it again.
As soon I call rst.update an error rises "not enough data in message left"

After downgrading to psqlODBC 08.04.0200 the stuff works again.

Is this a bug or a new feature ?


Regards
Andreas



view thread (7+ messages)  latest in thread

Message-ID: <4CC1E8FB.6040506@gmx.net>
Permalink:  ../4CC1E8FB.6040506@gmx.net/
Also on:    postgresql.org/message-id/4CC1E8FB.6040506@gmx.net

 · 

reply

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: maps.on@gmx.net
  Subject: Re: psqlODBC 09.00.0101 issue with adodb and  adLockOptimistic
  In-Reply-To: <4CC1E8FB.6040506@gmx.net>
  References: <4CC1E8FB.6040506@gmx.net>

* 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