Re: enums

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Cristian Prieto <cristian(at)clickdiario(dot)com>
Cc: tshipley(at)deru(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: enums
Date: 2005-10-28 01:46:41
Message-ID: 43618301.3070405@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Cristian Prieto wrote:

>What about use the declaration order as the enum order?, for example: if I
>declare something like: "CREATE ENUM hola ('item1', 'item3', 'item2');"
>-this is just assuming an hypothetical approach to use enum types in this
>way- and the logical order of the items could be 'item1', 'item3', 'item2'
>just because the user decided to create them in this way.
>
>Well, that's just an idea...
>
>
>

Using the declaration order is exactly what I have done.

cheers

andrew

In response to

  • Re: enums at 2005-10-28 01:35:41 from Cristian Prieto

Browse pgsql-hackers by date

  From Date Subject
Next Message elein 2005-10-28 01:48:47 Re: relfilenode
Previous Message Andrew Dunstan 2005-10-28 01:45:05 Re: enums