AW: SQL3 UNDER

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: SQL3 UNDER
Дата
Msg-id 219F68D65015D011A8E000006F8590C604AF7DA0@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> For multiple
> inheritance, why not just suggest the use of INHERITS, which is
> already a Postgres language extension for multiple 
> inheritance.  UNDER covers
> the tree/hierarchy situation, so make it only to SQL3 standards. 
> INHERIT fits the clone/copy/inherits situation that, like I've
> said before, is like starting a new tree.

Imho the difference is so marginal, that I would not like to see two 
different implementations. Informix e.g. took what Illustra had 
for inherits and only changed the keyword to under, which is imho 
what we should do.

When calling functions with a class argument they do pass all attributes
of subclasses to it. They use late function binding, so you can define
different functions for different subclasses having the same name.
They only show parent columns when doing 'select * from class' that has 
subclasses.

Andreas


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

Предыдущее
От: Louis-David Mitterrand
Дата:
Сообщение: Re: understanding Datum -> char * -> Datum conversions
Следующее
От: Louis-David Mitterrand
Дата:
Сообщение: Re: understanding Datum -> char * -> Datum conversions