From: Greg Campbell <greg.campbell@us.michelin.com>
To: Bob Caryl <bob@fis-cal.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Ok... I got most of it working but . . .
Date: Tue, 26 Jul 2005 13:42:51 -0400
Message-ID: <42E6761B.6020800@us.michelin.com> (raw)
In-Reply-To: <42E66F03.7010302@fis-cal.com>
References: <42E66F03.7010302@fis-cal.com>
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
Attachments:greg.campbell.vcf (text/x-vcard, 239B) download
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: greg.campbell@us.michelin.com, bob@fis-cal.com
Subject: Re: Ok... I got most of it working but . . .
In-Reply-To: <42E6761B.6020800@us.michelin.com>
References: <42E66F03.7010302@fis-cal.com> <42E6761B.6020800@us.michelin.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox