Best way to debug user defined type
I'm trying to debug a C function that is used for the binary send/receive part of a user defined type. I can debug the send part fine, but the receive part takes an input parameter of type "internal", and I can't seem to conjure up an "internal" to feed to my function to test if the output is working. Can you suggest a debugging strategy?
CG <cgg007@yahoo.com> writes:
I'm trying to debug a C function that is used for the binary send/receive part of a user defined type. I can debug the send part fine, but the receive part takes an input parameter of type "internal", and I can't seem to conjure up an "internal" to feed to my function to test if the output is working. Can you suggest a debugging strategy?
COPY BINARY out and back in?
regards, tom lane