Re: Help with returning data type - Mailing list pgsql-interfaces

From Michael Fuhr
Subject Re: Help with returning data type
Date
Msg-id 20050216234108.GA20623@winnie.fuhr.org
Whole thread Raw
In response to Help with returning data type  (Rudinei Dias <rudinei@unilasalle.edu.br>)
List 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 by date:

Previous
From: Rudinei Dias
Date:
Subject: Help with returning data type
Next
From: Janet Borschowa
Date:
Subject: Re: Help with returning data type