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

From Pavel Golub
Subject Re: add label to enum syntax
Date
Msg-id 124652227.20101028134948@gf.microolap.com
Whole thread Raw
In response to add label to enum syntax  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Hello, Andrew.

You wrote:


AD> It occurred to me in the dead of the night that instead of:

AD>     ALTER TYPE enumtype ADD 'newlabel'


AD> it might be better to have:

AD>     ALTER TYPE enumtype ADD LABEL 'newlabel'


AD> That way if we later wanted to support some other sort of ADD operation
AD> on types we would be able to more easily. LABEL is already a keyword, so
AD> it should be pretty minimally invasive to make this change, and if we 
AD> want to do it now is the time.

AD> Thoughts?

AD> cheers

AD> andrew


I'm with you.

BTW, I wrote post with poll about this.

-- 
With best wishes,Pavel                          mailto:pavel@gf.microolap.com



pgsql-hackers by date:

Previous
From: Boszormenyi Zoltan
Date:
Subject: Re: plan time of MASSIVE partitioning ...
Next
From: Pavel Golub
Date:
Subject: Re: add label to enum syntax