wade <[EMAIL PROTECTED]> writes:
> The problem arrises when the result object pointer you are passing to clear 
> contains not a null and not a valid result object address, but a junk pointer.
> PQclear() seg faults when the address is outside of the data segment.
> (libpq bug?)

No, that's a bug in *your* code.  Passing a bogus pointer to any library
anywhere will make it segfault, because there's no reasonable way to
verify a pointer.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to