Re: types for C function composites

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
Cc: "Postgres General List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: types for C function composites
Date: 2008-09-26 15:47:03
Message-ID: 17932.1222444023@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Merlin Moncure" <mmoncure(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Dunstan 2008-09-26 15:52:22 Re: PostgreSQL future ideas
Previous Message A.M. 2008-09-26 15:39:11 Re: PostgreSQL future ideas