Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group