Re: add label to enum syntax

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
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-25 16:45:44
Message-ID: 1288025144.6278.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On mån, 2010-10-25 at 11:48 -0400, Andrew Dunstan wrote:
> 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'

That had occurred to me as well. Go for it.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2010-10-25 16:46:47 Re: Composite Types and Function Parameters
Previous Message Tom Lane 2010-10-25 16:42:37 Re: Segfault in 9.0 inlining SRF