Re: Typed table DDL loose ends - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Typed table DDL loose ends
Date
Msg-id BANLkTinuUe7kO8Ufv8g=nK_BP_a-bV=esQ@mail.gmail.com
Whole thread Raw
In response to Re: Typed table DDL loose ends  (Noah Misch <noah@leadboat.com>)
Responses Re: Typed table DDL loose ends
List pgsql-hackers
On Mon, Apr 18, 2011 at 10:48 AM, Noah Misch <noah@leadboat.com> wrote:
> On Mon, Apr 18, 2011 at 10:20:21AM -0400, Robert Haas wrote:
>> I tweaked the comments accordingly, and also reverted your change to
>> the error message, because I don't want to introduce new terminology
>> here that we're not using anywhere else.
>
> FWIW, the term "stand-alone composite type" appears twice in our documentation.

Hmm, OK.  Anyone else have an opinion on the relative merits of:

ERROR: type stuff is not a composite type
vs.
ERROR: type stuff is not a stand-alone composite type

The intent of adding "stand-alone" was, I believe, to clarify that it
has to be a CREATE TYPE stuff AS ... type, not just a row type (that
is, naturally, composite, in some less-pure sense).  I'm not sure
whether the extra word actually makes it more clear, though.

Opinions?  Suggestions?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: JDBC connections to 9.1
Next
From: Robert Haas
Date:
Subject: Re: JDBC connections to 9.1