Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group