Best way to debug user defined type

Started by Chris Gamacheover 17 years ago2 messagesgeneral
Jump to latest
#1Chris Gamache
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?

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Chris Gamache (#1)
Re: Best way to debug user defined type

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