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/