Re: Arrays of Complex Types

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: David Fetter <david(at)fetter(dot)org>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays of Complex Types
Date: 2007-03-04 00:48:38
Message-ID: 45EA1766.8020808@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

David Fetter wrote:
> Per your earlier suggestion in IRC, I'm picturing a polymorphic
> function like
>
> pg_catalog.array_for(typepoid OID)
> pg_catalog.array_for(typename NAME)
> pg_catalog.array_for(typenamespace NAME, typename NAME)
>
> I don't see a good reason to allow putting array types in a different
> schema from their base types.
>
>

Actually, I think I prefer Martijns simple SQL extension suggestion better.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryan Cumming 2007-03-04 02:25:02 Trivial HugeTLB Benchmark
Previous Message Zoltan Boszormenyi 2007-03-04 00:25:20 IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-04 03:57:02 Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch
Previous Message Zoltan Boszormenyi 2007-03-04 00:25:20 IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch