X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D686052E8B for ; Tue, 26 Jul 2005 14:43:11 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98072-03 for ; Tue, 26 Jul 2005 17:43:00 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 0EDEC52BDC for ; Tue, 26 Jul 2005 14:42:58 -0300 (ADT) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.17) with ESMTP id for ; Tue, 26 Jul 2005 13:42:19 -0400 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Tue, 26 Jul 2005 13:42:56 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IK8X7J00.86J for ; Tue, 26 Jul 2005 13:42:55 -0400 Received: from [10.43.15.207] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Tue, 26 Jul 2005 13:42:53 -0400 Message-Id: <42E6761B.6020800@us.michelin.com> Date: Tue, 26 Jul 2005 13:42:51 -0400 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Caryl Cc: pgsql-odbc@postgresql.org Subject: Re: Ok... I got most of it working but . . . References: <42E66F03.7010302@fis-cal.com> In-Reply-To: <42E66F03.7010302@fis-cal.com> Content-Type: multipart/mixed; boundary="------------060903020701050906050508" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.012 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/159 X-Sequence-Number: 5624 This is a multi-part message in MIME format. --------------060903020701050906050508 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Is that supposed to be an SQL string, like "INSERT INTO my_table (field1, field2, field3, field3) VALUES (0.00,0.00,0.00)" parentheis -- not curly braces? Bob Caryl wrote: > I am using arrays of double precision numbers in certain columns in my > table. When I format the CString object (analogous to Glib::ustring > objects in the linux world) to update this column it looks like this: > > > "{0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00}" > > > However, when the odbc driver tries to update the new added record, I > get the following error message server side (and at my application): > > ERROR: invalid input syntax for type double precision: > "{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}" > > Evidently, the odbc driver is deciding to optimize my query perhaps? > What am I doing wrong this time? > > Thanks, > > Bob Caryl > > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match --------------060903020701050906050508 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------060903020701050906050508--