Re: s/LABEL/VALUE/ for ENUMs - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: s/LABEL/VALUE/ for ENUMs
Date
Msg-id BDDBDEA9-DAE3-4429-8013-4D1E741F164B@kineticode.com
Whole thread Raw
In response to Re: s/LABEL/VALUE/ for ENUMs  (Josh Berkus <josh@agliodbs.com>)
Responses Re: s/LABEL/VALUE/ for ENUMs
List pgsql-hackers
On Nov 22, 2010, at 6:03 PM, Josh Berkus wrote:

> ... "original patch".  Sorry.  Let's not fiddle with the names.

To be clear, as things stand now, the new command is:
   ALTER TYPE name ADD VALUE new_enum_value [ { BEFORE | AFTER } existing_enum_value ]

So while the term in the SQL statement is "VALUE," it's called a "label" in the documentation. I think that's
confusing.Does anyone else? 

Best

David



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: final patch - plpgsql: for-in-array
Next
From: Peter Eisentraut
Date:
Subject: Re: multibyte-character aware support for function "downcase_truncate_identifier()"