View Single Post

   
  #8 (permalink)  
Old 04-12-2008, 08:33 AM
Andrew Dunstan
 
Posts: n/a
Default Re: Arrays of Complex Types

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

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote