Обсуждение: Best way to debug user defined type

Поиск
Список
Период
Сортировка

Best way to debug user defined type

От
CG
Дата:
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
sendpart 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
Дата:
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
thesend 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