Poll: ALTER TYPE enumtype ADD <what?> ‘newlabel’

Yesterday, Hubert ‘depesz’ Lubaczewski wrote a post about new functionality in PostgreSQL 9.1.

In a few words we will have the ability to add new values to the existing ENUM type defined earlier. Thanks God!

However, Andrew Dunstan proposed to use another syntax for it:


ALTER TYPE enumtype ADD LABEL ‘newlabel’

The discussion was hot. Brendan Jurd wanted previous syntax, Tom Lane proposed substitution VALUE for LABEL, Pavel Stehule made a suggestion for ELEMENT etc.

What term sounds good for you, friend?

About these ads

Nerd.

Tagged with: , , , ,
Posted in Polls, PostgreSQL
2 comments on “Poll: ALTER TYPE enumtype ADD <what?> ‘newlabel’
  1. Joe says:

    As mentioned by Brendan Jurd, “thingy” best captures the essence of “it”! Although in Standard C, I think those thingies are called enumeration tags.

  2. pashagolub says:

    Someone proposed MEMBER.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives
Map of wandering
Follow

Get every new post delivered to your Inbox.

Join 83 other followers

%d bloggers like this: