Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 87C931337C36 for ; Fri, 1 Apr 2011 13:31:20 -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 00136-01-8 for ; Fri, 1 Apr 2011 16:31:01 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtpout07.impresasemplice.it (smtpout07.impresasemplice.it [83.221.127.40]) by mail.postgresql.org (Postfix) with ESMTP id DFB241337E27 for ; Fri, 1 Apr 2011 13:04:20 -0300 (ADT) Received: from COPMCL01B06.COP.LOCAL (10.32.95.44) by COPMOU07.COPDMZ.LOCAL (10.32.120.215) with Microsoft SMTP Server id 8.3.137.0; Fri, 1 Apr 2011 18:03:21 +0200 Received: from tank.sv.lnf.it (94.81.130.198) by out.impresasemplice.it (10.32.95.44) with Microsoft SMTP Server id 8.3.137.0; Fri, 1 Apr 2011 18:04:14 +0200 Received: from [10.5.1.3] (helo=neuromante.sv.lnf.it) by tank.sv.lnf.it with esmtp (Exim 4.69) (envelope-from ) id 1Q5gpZ-0001nV-0K for pgsql-odbc@postgresql.org; Fri, 01 Apr 2011 18:04:13 +0200 Received: from [10.5.1.18] (helo=lily) by neuromante.sv.lnf.it with esmtp (Exim 4.69) (envelope-from ) id 1Q5gpZ-0003FC-2b for pgsql-odbc@postgresql.org; Fri, 01 Apr 2011 18:04:13 +0200 Received: by lily (Postfix, from userid 1000) id 5E965E1410; Fri, 1 Apr 2011 18:04:16 +0200 (CEST) Date: Fri, 1 Apr 2011 18:04:16 +0200 From: Marco Gaiarin To: Subject: [gaio@sv.lnf.it: [gaio@sv.lnf.it: Centura 1.5.1: moving from ODBC 8 to 9, some trouble]] Message-ID: <20110401160416.GK2354@sv.lnf.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Organization: La Nostra Famiglia - Polo FVG User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable X-TI-ClientIp: 94.81.130.198 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201104/1 X-Sequence-Number: 10629 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. ----- 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=3D-4.0 required=3D5.0 tests=3DAWL,BAYES_00,GREYL= IST_ISWHITE autolearn=3Dham version=3D3.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=3D-4.0 required=3D5.0 tests=3DAWL,BAYES_00,GREYL= IST_ISWHITE autolearn=3Dham version=3D3.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=3D# \d tmp_articoli Tabella "public.tmp_articoli" Colonna | Tipo | Modificatori=20 ------------+----------------+-------------- narticolo | integer |=20 sede_art | integer |=20 conto_art | character(12) |=20 attiv_art | integer |=20 data_art | date |=20 tipo | character(1) |=20 conto | character(8) |=20 descr | character(250) |=20 dare | numeric(15,2) |=20 avere | numeric(15,2) |=20 sede | integer |=20 attiv | integer |=20 cdc | character(6) |=20 tipo_prot | character(2) |=20 protocollo | integer |=20 rw | integer |=20 What changed between odbc driver 8 and 9? Thanks. --=20 dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it= / Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento (= PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ----- End forwarded message ----- --=20 dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it= / Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento (= PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA) --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ----- End forwarded message ----- --=20 dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it= / Polo FVG - Via della Bont=E0, 7 - 33078 - San Vito al Tagliamento (= PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA! http://www.lanostrafamiglia.it/chi_siamo/5xmille.php (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)