Re: Embedded SQL library bug

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Embedded SQL library bug
Дата
Msg-id 20040522112643.GA5714@1
обсуждение исходный текст
Ответ на Embedded SQL library bug  (David Flater <dflater@nist.gov>)
Список 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 по дате отправления:

Предыдущее
От: David Flater
Дата:
Сообщение: Embedded SQL library bug
Следующее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1155: AbstractJdbc2ResultSet:parseQuery ; in tablename