Received: from maia.hub.org (unknown [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id CC3EE1337B8F for ; Sat, 23 Oct 2010 14:03:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 84215-02 for ; Sat, 23 Oct 2010 17:03:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mail.postgresql.org (Postfix) with SMTP id EBEFB1337B8D for ; Sat, 23 Oct 2010 14:03:48 -0300 (ADT) Received: (qmail invoked by alias); 23 Oct 2010 17:03:47 -0000 Received: from mue-88-130-16-038.dsl.tropolys.de (EHLO [192.168.0.113]) [88.130.16.38] by mail.gmx.net (mp011) with SMTP; 23 Oct 2010 19:03:47 +0200 X-Authenticated: #14269776 X-Provags-ID: V01U2FsdGVkX1/ZNb4YLsbZKXnHFC5JKbDkt+kURCwTl/+JzeFOyg w7jHxN9Ci+18xC Message-ID: <4CC31571.6030204@gmx.net> Date: Sat, 23 Oct 2010 19:03:45 +0200 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: Hiroshi Inoue CC: pgsql-odbc@postgresql.org Subject: Re: psqlODBC 09.00.0101 issue with adodb and adLockOptimistic References: <4CC1E8FB.6040506@gmx.net> <4CC2E735.6070101@tpf.co.jp> In-Reply-To: <4CC2E735.6070101@tpf.co.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/20 X-Sequence-Number: 10465 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 > >