Re: Help with returning data type

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Help with returning data type
Дата
Msg-id 20050216234108.GA20623@winnie.fuhr.org
обсуждение исходный текст
Ответ на Help with returning data type  (Rudinei Dias <rudinei@unilasalle.edu.br>)
Список pgsql-interfaces
On Wed, Feb 16, 2005 at 10:06:58AM -0300, Rudinei Dias wrote:
>
> *       // 3 - THIS **DONT **WORK (retrieving bool)
>         ...
>        bytea = PQgetvalue(res, i, 0);
>        long_ret = atol(bytea);

What's the value of bytea (the string bytea points to)?
What output were you expecting?
What output did you get?

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: Rudinei Dias
Дата:
Сообщение: Help with returning data type
Следующее
От: Janet Borschowa
Дата:
Сообщение: Re: Help with returning data type