| From: | Pavel Golub <pavel(at)microolap(dot)com> |
|---|---|
| To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: add label to enum syntax |
| Date: | 2010-10-28 10:49:48 |
| Message-ID: | 124652227.20101028134948@gf.microolap.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)gf(dot)microolap(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Golub | 2010-10-28 10:50:24 | Re: add label to enum syntax |
| Previous Message | Heikki Linnakangas | 2010-10-28 10:47:28 | Error message with COMMIT/ROLLBACK within PL/pgSQL |