Re: Schema access in PL/PGSQL for custom objects - i.e. type access? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Schema access in PL/PGSQL for custom objects - i.e. type access?
Date
Msg-id 6477.1190391951@sss.pgh.pa.us
Whole thread Raw
In response to Schema access in PL/PGSQL for custom objects - i.e. type access?  ("blay bloo" <blaybloo@googlemail.com>)
List pgsql-hackers
"blay bloo" <blaybloo@googlemail.com> writes:
> I was wondering how to access the schema of a type in PL/PGSQL
> Basically, we've created some custom objects in the database, which
> are somewhat similar to database/composite types (i.e. Create type..)-
> essentially a named list of name/type pairs.

Is there a particularly good reason why you don't just use composite
types?  It sounds to me like you want to pile one hack atop another,
when you could avoid either by switching to the standard facility.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: HOT is applied
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: HOT is applied