Re: constants in 2-column foreign keys or how to design a storage for text-groups ?

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: constants in 2-column foreign keys or how to design a storage for text-groups ?
Дата
Msg-id hft0gj$2j5$1@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на constants in 2-column foreign keys or how to design a storage for text-groups ?  (Andreas <maps.on@gmx.net>)
Ответы Re: Re: constants in 2-column foreign keys or how to design a storage for text-groups ?  (Andreas <maps.on@gmx.net>)
Список pgsql-sql
On 2009-12-09, Andreas <maps.on@gmx.net> wrote:
> Hi,

...
> stupid example:
> ---------------
> color:   red, green, blue
> size: tiny, little, big, giant
> structure:  hard, soft, floppy
>

> How would I solve the rather common text storage issue?

have you considered using enumerated types instead?



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

Предыдущее
От: Michael Eshom
Дата:
Сообщение: FIND_IN_SET
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: FIND_IN_SET