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

types for C function composites

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Postgres General List" <pgsql-general(at)postgresql(dot)org>
Subject: types for C function composites
Date: 2008-09-26 15:19:20
Message-ID: b42b73150809260819h50fac794u4afad44b7c33e3ee@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
In a backend C function, is there any way to get the type (Probably
via TupleDesc)  of a passed in composite type?  I'm trying to build a
generic function that does not assume the types of the composite
fields...I take it this might not be possible.

merlin

Responses

pgsql-general by date

Next:From: A.M.Date: 2008-09-26 15:39:11
Subject: Re: PostgreSQL future ideas
Previous:From: Raymond O'DonnellDate: 2008-09-26 14:10:44
Subject: Re: PL/PGSQL - character varying as function argument

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