Best way to debug user defined type
Best way to debug user defined type
От:
CG <cgg007@yahoo.com>
Дата:
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?
Re: Best way to debug user defined type
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
CG 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