From: Andreas <maps.on@gmx.net>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC 09.00.0101 issue with adodb and adLockOptimistic
Date: Sat, 23 Oct 2010 19:03:45 +0200
Message-ID: <4CC31571.6030204@gmx.net> (raw)
In-Reply-To: <4CC2E735.6070101@tpf.co.jp>
References: <4CC1E8FB.6040506@gmx.net>
<4CC2E735.6070101@tpf.co.jp>
Hi,
I tried the unicode-binary from your site and replaced the corresponding
files within my current 8.4.0200 folder with the new 9.0.0102 dlls. The
broken ADODB code works now as far as I see in a hurry. :)
Will you build a new msi-distribution?
Thanks for the fast response.
:)
Am 23.10.2010 15:46, schrieb Hiroshi Inoue:
> Hi Andreas,
>
> (2010/10/23 4:41), Andreas wrote:
>> 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.
>
> Thanks for the report.
> Could you please try the drivers on testing for 9.0.0102 at
> http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/
> ?
>
> regards,
> Hiroshi Inoue
>
>> 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
>
>
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, inoue@tpf.co.jp
Subject: Re: psqlODBC 09.00.0101 issue with adodb and adLockOptimistic
In-Reply-To: <4CC31571.6030204@gmx.net>
References: <4CC1E8FB.6040506@gmx.net> <4CC2E735.6070101@tpf.co.jp> <4CC31571.6030204@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