Received: from maia.hub.org (unknown [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 09E651337B61 for ; Sat, 23 Oct 2010 10:46:45 -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 64752-05 for ; Sat, 23 Oct 2010 13:46:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 5DC741336971 for ; Sat, 23 Oct 2010 10:46:35 -0300 (ADT) Received: (qmail 12150 invoked by uid 512); 23 Oct 2010 13:46:33 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 23 Oct 2010 13:46:33 -0000 Received: from unknown (HELO ?192.168.24.51?) (183.76.21.68) by sd.tpf.co.jp with SMTP; 23 Oct 2010 13:46:33 -0000 Message-ID: <4CC2E735.6070101@tpf.co.jp> Date: Sat, 23 Oct 2010 22:46:29 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Andreas CC: pgsql-odbc@postgresql.org Subject: Re: psqlODBC 09.00.0101 issue with adodb and adLockOptimistic References: <4CC1E8FB.6040506@gmx.net> In-Reply-To: <4CC1E8FB.6040506@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.242 tagged_above=-10 required=5 tests=BAYES_00=-1.9, DNS_FROM_RFC_BOGUSMX=1.668, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/19 X-Sequence-Number: 10464 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