"Arunachalam Parthasarathy" <arunachalamamsam(at)gmail(dot)com> writes:
> When i iterate over the result set, i am unable to get the return boolean
> value in my code. The ptr returned by PQGetValue is valid, but contains
> nothing. why is it so?
Did you check PQgetisnull()? IIRC PQgetvalue() will return a
zero-length string for a null field.
regards, tom lane