"Glen W. Mabey" <[EMAIL PROTECTED]> writes:
> Is there somewhere that I am not adequately checking for an error?
1. You're passing SPI_getbinval an uninitialized bool pointer.
2. You're discarding its result, which you need.
3. You're not checking for a null, and the error check you do have
is wrong/redundant.
4. Use DatumGetTextP(), not DatumGetPointer nor PG_DETOAST_DATUM.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly