Re: Embedded SQL library bug - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: Embedded SQL library bug
Date
Msg-id 20040522112643.GA5714@1
Whole thread Raw
In response to Embedded SQL library bug  (David Flater <dflater@nist.gov>)
List pgsql-bugs
On Fri, May 21, 2004 at 05:03:40PM -0400, David Flater wrote:
> In Embedded SQL, sometimes get segmentation faults on selecting part
> or all of a float8[] array into a char array.

Thanks for the report. The problem is that ecpg does not know that it
gets an array of floats but expects a character string since the
variable is char[]. Seeing that it gets more than one value it tries to
bulk load the data into an array of strings which obviously doesn't
exist.

I will have to see what solution is best for this.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-bugs by date:

Previous
From: David Flater
Date:
Subject: Embedded SQL library bug
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1155: AbstractJdbc2ResultSet:parseQuery ; in tablename