Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id CD069632944 for ; Tue, 11 May 2010 00:30:27 -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 40339-04 for ; Tue, 11 May 2010 03:30:20 +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 F2025633100 for ; Tue, 11 May 2010 00:30:19 -0300 (ADT) Received: (qmail 3999 invoked by uid 512); 11 May 2010 03:30:16 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.252) by sd2.tpf-fw-c.co.jp with SMTP; 11 May 2010 03:30:16 -0000 Message-ID: <4BE8CF3A.5010901@tpf.co.jp> Date: Tue, 11 May 2010 12:30:02 +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: Luciane CC: pgsql-odbc@postgresql.org Subject: Re: ODBC Numeric field issue References: <28486416.post@talk.nabble.com> <4BE47DCC.5040804@tpf.co.jp> <28511550.post@talk.nabble.com> In-Reply-To: <28511550.post@talk.nabble.com> 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: 201005/12 X-Sequence-Number: 10259 Luciane wrote: > > Hiroshi Inoue, > > I've uploaded the Mylog_ file. > I'm trying to use PostgresSQL with IBM DataStage. > The problem happens only with the second numeric fiel, I've tried all others > Postgres field types and it works properly. > the SQL shown by Datastage seams to be right to me look: > INSERT INTO "teste_carga"("s1", "i1", "n1", "n2") VALUES (?,?,?,?); > I've asked IBM support and they couldn't help me. > > http://old.nabble.com/file/p28511550/mylog_a0251185604.log > mylog_a0251185604.log Thanks. What kind of psqlodbc driver are you using? Judging from the log the driver seems far from the current. regards, Hiroshi Inoue