Re: PG 8.2.7, ECPG & Composite types..

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: List User <pglists(at)boscorama(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PG 8.2.7, ECPG & Composite types..
Date: 2008-05-13 10:07:31
Message-ID: 20080513100731.GA17238@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, Apr 30, 2008 at 05:11:52PM -0700, List User wrote:
> and in ECPG we have tried various things which either end up with a
> mismatch between column count & value count; or generate an error
> where the values for the embedded composite type have been melded
> together as a text string and telling us that the resulting string
> is an invalid floating point value. Following is an example of the
> latter error:
>
> exec sql insert into items ( name, price.amt, price.iso, stock )
> values ( 'Test Item', 99.2, 1, 101 );

It says this has an invalid floating point?

Could you produce a small test case so we can work on the same example?
Also could you enable logging and post the logs?

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Premil Agarwal 2008-05-14 20:23:33 Function's final statement must be a SELECT
Previous Message Ivo Rossacher 2008-05-04 00:14:48 Re: VC++ 6: VB6 - Migrate Access database (DAO + JET) to PostgreSQL