Ok... I got most of it working but . . .

From: Bob Caryl <bob(at)fis-cal(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Ok... I got most of it working but . . .
Date: 2005-07-26 17:12:35
Message-ID: 42E66F03.7010302@fis-cal.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Greg Campbell 2005-07-26 17:42:51 Re: Ok... I got most of it working but . . .
Previous Message Merlin Moncure 2005-07-26 16:07:47 Re: still no luck with excel