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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "blay bloo" <blaybloo(at)googlemail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Schema access in PL/PGSQL for custom objects - i.e. type access?
Date: 2007-09-21 16:25:51
Message-ID: 6477.1190391951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"blay bloo" <blaybloo(at)googlemail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-09-21 16:45:19 Re: HOT is applied
Previous Message Tom Lane 2007-09-21 15:22:17 Re: HOT is applied