Re: add label to enum syntax - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: add label to enum syntax
Date
Msg-id 1288191290-sup-3346@alvh.no-ip.org
Whole thread Raw
In response to Re: add label to enum syntax  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: add label to enum syntax
List pgsql-hackers
Excerpts from Andrew Dunstan's message of mié oct 27 11:18:44 -0300 2010:

> The reason I chose LABEL was that it's consistent with what we have used 
> elsewhere, both in the docs and the catalog. But I'm not strongly wedded 
> to it. If it's a choice between ELEMENT and VALUE, I too prefer VALUE at 
> it seems likelier to convey the sense of what we're doing to a naive user.

Wow, this must be the most difficult smallest thing I have ever seen
discussed in pg-hackers.  It doesn't seem like there are enough votes
in any particular direction.  Now *this* is proper bikeshedding.

Should we ask more openly in another thread, with a different, more
catchy subject?

And I just realized that my patch lacks psql tab completion support.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: add label to enum syntax
Next
From: Alvaro Herrera
Date:
Subject: Re: xlog.c: WALInsertLock vs. WALWriteLock