Re: Arrays of Complex Types - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Arrays of Complex Types
Date
Msg-id 87zm5xrxh3.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Arrays of Complex Types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Arrays of Complex Types  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: CREATE INDEX and HOT - revised design
Next
From: Tom Lane
Date:
Subject: Re: Arrays of Complex Types