Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id BDA531337B4E for ; Tue, 5 Apr 2011 00:45:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 71092-02 for ; Tue, 5 Apr 2011 03:45:36 +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 5E4BF1337B47 for ; Tue, 5 Apr 2011 00:45:35 -0300 (ADT) Received: (qmail 27713 invoked by uid 512); 5 Apr 2011 03:45:24 -0000 Received: from unknown (HELO ?100.0.32.108?) (100.0.32.108) by sd2.tpf-fw-c.co.jp with SMTP; 5 Apr 2011 03:45:24 -0000 Message-ID: <4D9A9052.9000102@tpf.co.jp> Date: Tue, 05 Apr 2011 12:45:22 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Marco Gaiarin CC: pgsql-odbc@postgresql.org Subject: Re: [gaio@sv.lnf.it: [gaio@sv.lnf.it: Centura 1.5.1: moving from ODBC 8 to 9, some trouble]] References: <20110401160416.GK2354@sv.lnf.it> In-Reply-To: <20110401160416.GK2354@sv.lnf.it> Content-Type: text/plain; charset=ISO-8859-1; 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: 201104/7 X-Sequence-Number: 10635 Hi Marco, (2011/04/02 1:04), Marco Gaiarin wrote: > > Sorry, i repost for the third time this request, still desperately > seeking feedback. > > There's somethin i can do, eg saving logs of operation with a driver > and the other and post the logs to this list? > Something other? > > Please, halp me at least tracking this problem... Thanks. Could you take the Mylog output and send it to me directly? regards, Hiroshi Inoue > > ----- Forwarded message from Marco Gaiarin ----- > Date: Wed, 23 Mar 2011 09:13:00 +0100 > From: Marco Gaiarin > To: pgsql-odbc@postgresql.org > Subject: [gaio@sv.lnf.it: [ODBC] Centura 1.5.1: moving from ODBC 8 to 9, > some trouble] > Organization: La Nostra Famiglia - Polo FVG > X-Mailing-List: pgsql-odbc > X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,GREYLIST_ISWHITE > autolearn=ham version=3.2.5 > > > Sorry, i repost this message, still seeking feedback. > > Thanks. > > ----- Forwarded message from Marco Gaiarin ----- > Date: Wed, 16 Mar 2011 10:20:15 +0100 > From: Marco Gaiarin > To: pgsql-odbc@postgresql.org > Subject: [ODBC] Centura 1.5.1: moving from ODBC 8 to 9, some trouble > Organization: La Nostra Famiglia - Polo FVG > X-Mailing-List: pgsql-odbc > X-Spam-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,GREYLIST_ISWHITE > autolearn=ham version=3.2.5 > > > In our organization we have some old apps written in Gupta Centura (AKA > Team Developer 1.5.1): > http://en.wikipedia.org/wiki/Gupta_Technologies > > We use extensively this RAD with Postgers database, using the odbc > driver as a glue. > > I've deployed an upgrade of the ODBC driver from 8.XX to 9.XX, and > suddenly these apps stop working, doing strange things. > > I'm currently using driver version 09.00.0200, and a simple query like: > > Call SqlPrepareAndExecute(hsql,'select sum(dare),sum(avere) into :daren,:averen from tmp_articoli') > > return errors like: > > select sum(dare),sum(avere) into :daren,:averen from tmp_articoli > Attempt to fetch non-numeric data into numeric column > Reason: One of the application's sqlssb function calls set up a fetch > buffer that is defined as numeric but the data that was fetched > cannot be converted to a numeric value. > > postgres (DB) version are 8.3.14 (debian lenny); table schema: > > registra27=# \d tmp_articoli > Tabella "public.tmp_articoli" > Colonna | Tipo | Modificatori > ------------+----------------+-------------- > narticolo | integer | > sede_art | integer | > conto_art | character(12) | > attiv_art | integer | > data_art | date | > tipo | character(1) | > conto | character(8) | > descr | character(250) | > dare | numeric(15,2) | > avere | numeric(15,2) | > sede | integer | > attiv | integer | > cdc | character(6) | > tipo_prot | character(2) | > protocollo | integer | > rw | integer | > > > What changed between odbc driver 8 and 9? Thanks.