"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