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

From Andrew Dunstan
Subject Re: add label to enum syntax
Date
Msg-id 4CC5E51A.2010000@dunslane.net
Whole thread Raw
In response to Re: add label to enum syntax  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: add label to enum syntax
List pgsql-hackers

On 10/25/2010 04:03 PM, Pavel Stehule wrote:
> 2010/10/25 Andrew Dunstan<andrew@dunslane.net>:
>>
>> On 10/25/2010 02:51 PM, Robert Haas wrote:
>>>
>>> Personally, I prefer LABEL.  But I could live with VALUE.
>> That's roughly my position. It would be consistent with the name we use in
>> the catalogs, as well as what's in the docs. I don't think it's as opaque as
>> Tom seems to suggest. An enum is pretty much an ordered set of labels. But I
>> could certainly live with VALUE if that's the consensus.
> I agree with you. There are some better keywords than VALUE - maybe
> ELEMENT or just LABEL. I understand if there must be a reserved
> keyword - but if not I prefer LABEL too.
>

LABEL is already an unreserved keyword, and I'm pretty sure that's all 
we'll need.

cheers

andrew


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: ask for review of MERGE
Next
From: "Kevin Grittner"
Date:
Subject: Re: ask for review of MERGE