Re: types for C function composites - Mailing list pgsql-general

From Tom Lane
Subject Re: types for C function composites
Date
Msg-id 17932.1222444023@sss.pgh.pa.us
Whole thread Raw
In response to types for C function composites  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-general
"Merlin Moncure" <mmoncure@gmail.com> writes:
> In a backend C function, is there any way to get the type (Probably
> via TupleDesc)  of a passed in composite type?

Sure.  The canonical example is record_out().

            regards, tom lane

pgsql-general by date:

Previous
From: Michelle Konzack
Date:
Subject: Re: Largest PostgreSQL 8.x DB someone is running?
Next
From: Dianne Yumul
Date:
Subject: Re: Stroring html form settings