Re: add label to enum syntax - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: add label to enum syntax
Date
Msg-id 1288140208-sup-5735@alvh.no-ip.org
Whole thread Raw
In response to Re: add label to enum syntax  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: add label to enum syntax
Re: add label to enum syntax
List pgsql-hackers
Excerpts from Dean Rasheed's message of mar oct 26 15:46:56 -0300 2010:
> On 26 October 2010 17:04, David E. Wheeler <david@kineticode.com> wrote:
> > On Oct 26, 2010, at 7:15 AM, Robert Haas wrote:
> >
> >>> Notwithstanding the above, I don't think ELEMENT would be a very bad choice.
> >>
> >> I still think we should just go for LABEL and be done with it.  But
> >> y'all can ignore me if you want...
> >
> > +1
>
> Well ELEMENT is a reserved keyword in SQL:2008, to support multisets,
> so if we ever supported that feature...

Hah!

Well, here's a patch for LABEL in any case.  If we're going to have to
reserve ELEMENT in the future then there doesn't seem to be much point
in not choosing that one though.  Should we take a poll?

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: psql: Don't close stdin, don't leak file descriptor with ON_ERROR_STOP
Next
From: Robert Haas
Date:
Subject: Re: O_DSYNC broken on MacOS X?