Re: Type inheritance

Поиск
Список
Период
Сортировка
От Gianvito Pio
Тема Re: Type inheritance
Дата
Msg-id 5eca56860906050813s2b77639aoebe73dd18d103891@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Type inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Domains just allow me to redefine base types, including some restrictions. I just want to define a my own type and then to define some new types that inherit from the first one. I hope it's clear now...

2009/6/5 Tom Lane <tgl@sss.pgh.pa.us>
Gianvito Pio <pio.gianvito@gmail.com> writes:
> I just want to ask you if it's possible to define sub types in PostgreSQL
> (Type inheritance). I found that table inheritance is possible...but I'd
> like to do it on types.

It's fairly unclear what your actual requirements are here, but perhaps
domains would do the job?

                       regards, tom lane

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

Предыдущее
От: chester c young
Дата:
Сообщение: do unneeded outer joins cost?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: do unneeded outer joins cost?