From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Subject: | Re: Typed table DDL loose ends |
Date: | 2011-04-18 15:59:36 |
Message-ID: | BANLkTimn+=kmRWFqsPvea6ywbq6TxdL3Jw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Apr 18, 2011 at 11:46 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> On Mon, Apr 18, 2011 at 11:33 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> What about inverting the message phrasing, ie
>>>
>>> ERROR: type stuff must not be a table's row type
>
>> It also can't be a view's row type, a sequence's row type, a foreign
>> table's row type...
>
> Well, you could say "relation's row type" if you wanted to be formally
> correct, but I'm not convinced that's an improvement.
Me neither, especially since composite types are also relations, in
our parlance.
I'm not strongly attached to or repulsed by any particular option, so
however we end up doing it is OK with me.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-04-18 16:12:15 | Re: [JDBC] JDBC connections to 9.1 |
Previous Message | Tom Lane | 2011-04-18 15:46:50 | Re: Typed table DDL loose ends |