Re: Arrays of Complex Types

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "David Fetter" <david(at)fetter(dot)org>, <andrew(at)supernews(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arrays of Complex Types
Date: 2007-03-28 19:15:20
Message-ID: 87zm5xrxh3.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> CREATE ARRAY TYPE FOR foo

I also made a suggestion along the way that we never create array types
automatically except for domains. Ie, we don't need a new command, we just
document that what you do if you want to create an array of something is
create a domain for it then use arrays of that domain.

I'm not sure whether having to create a new command is cleaner or less clean
than overloading an existing command with two purposes.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-03-28 19:24:26 Re: Arrays of Complex Types
Previous Message Florian G. Pflug 2007-03-28 19:13:21 Re: CREATE INDEX and HOT - revised design

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-03-28 19:24:26 Re: Arrays of Complex Types
Previous Message Jeremy Drake 2007-03-28 19:00:22 Re: patch adding new regexp functions