Re: enums

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: enums
Дата
Msg-id 43618301.3070405@dunslane.net
обсуждение исходный текст
Ответ на Re: enums  ("Cristian Prieto" <cristian@clickdiario.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: enums
Следующее
От: elein
Дата:
Сообщение: Re: relfilenode