Re: Best way to debug user defined type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: CG <cgg007(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Best way to debug user defined type
Date: 2008-11-05 20:20:12
Message-ID: 2234.1225916412@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CG <cgg007(at)yahoo(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2008-11-05 20:23:04 Re: Speeding up query
Previous Message Andrus 2008-11-05 19:52:29 Re: Speeding up query