variant column type

Поиск
Список
Период
Сортировка
От salah jubeh
Тема variant column type
Дата
Msg-id 1311699733.59137.YahooMailRC@web161504.mail.bf1.yahoo.com
обсуждение исходный текст
Ответы Re: variant column type  (John R Pierce <pierce@hogranch.com>)
Re: variant column type  (Ben Chobot <bench@silentmedia.com>)
Re: variant column type  ("David Johnston" <polobo@yahoo.com>)
Re: variant column type  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general

 Hello,

suppose the following scenario

the car speed is 240 
the car has an airbag

Here the first value is integer and the second value is boolean. Consider that I have this table structure

feature (feature id feature name)
car (car id, .... )
car_feature (car id, feature id, value). the value attribute might have different domains. How can I model this using postgres and using ANSI compliant design ?

Regards 

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Implementing "thick"/"fat" databases
Следующее
От: John R Pierce
Дата:
Сообщение: Re: variant column type