Type inheritance

Поиск
Список
Период
Сортировка
От Gianvito Pio
Тема Type inheritance
Дата
Msg-id 5eca56860906050330w6171b327k95881b13c4dca466@mail.gmail.com
обсуждение исходный текст
Ответы Re: Type inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Type inheritance  (Rob Sargent <robjsargent@gmail.com>)
Список pgsql-sql
Hi all,<br /> I just want to ask you if it's possible to define sub types in PostgreSQL (Type inheritance). I found
thattable inheritance is possible...but I'd like to do it on types.<br /><br /> Example:<br /> define a type Value and
twosubtypes Temperature and Humidity and then define a table that has an attribute of Value type (that can accept both
specializedtypes).<br /><br /> Thanks  

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: page-base stats per query?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Type inheritance