Re: add label to enum syntax

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Robert Haas" <robertmhaas(at)gmail(dot)com>
Cc: "David E(dot) Wheeler" <david(at)kineticode(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: add label to enum syntax
Date: 2010-10-25 19:52:59
Message-ID: 4CC599CB0200002500036DDD@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

>> Personally, I prefer LABEL. But I could live with VALUE.
>
> That's roughly my position.

LABEL would seem more natural to me. I would tend to think of the
VALUE as the hidden number which determines the order.

-Kevin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message James Cloos 2010-10-25 19:56:09 Re: Floating-point timestamps versus Range Types
Previous Message Alan Hodgson 2010-10-25 19:51:41 Re: Postgres insert performance and storage requirement compared to Oracle