PGEASY

Поиск
Список
Период
Сортировка
От creid
Тема PGEASY
Дата
Msg-id ILECJKPFOLBAGINIFFFBKEDGCAAA.creid@netbcg.com
обсуждение исходный текст
Список pgsql-interfaces
I am experimenting with LIBPGEASY

Problem: When I access a "varchar(30)" column using "DECLARE.....FOR SELECT
column from schema.table WHERE pkey='KEY'"

When I fetch to a declared variable to return to a calling procedure, my
program does a (segmentation error) unless I declare the char variable to
some much higher value than it is seemingly necessary.  Moreover, the
problem does not occur when I manipulate the result in the called procedure.
In fact, in my experimentation, I have noticed that I can declare a char
variable array less than what the result is and it still works.  The crash
only occurs in the calling procedure.

What might I be doing wrong?

Thanks
Cliff



Вложения

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] pgtcl large object read/write corrupts binary data
Следующее
От: "creid"
Дата:
Сообщение: PGEASY QUESTION