Re: add label to enum syntax

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: add label to enum syntax
Date: 2010-10-25 16:03:40
Message-ID: AANLkTi=__opgbTr2rpJcTsEOjupaPUM6-K3sQuiv7eC9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 25, 2010 at 11:57 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> 2010/10/25 Andrew Dunstan <andrew(at)dunslane(dot)net>:
>>
>> It occurred to me in the dead of the night that instead of:
>>
>>   ALTER TYPE enumtype ADD 'newlabel'
>>
>>
>> it might be better to have:
>>
>>   ALTER TYPE enumtype ADD LABEL 'newlabel'
>
> +1

+1.

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-10-25 16:42:37 Re: Segfault in 9.0 inlining SRF
Previous Message Pavel Stehule 2010-10-25 15:57:45 Re: add label to enum syntax