Inheritance

Поиск
Список
Период
Сортировка
От Jan Johansson
Тема Inheritance
Дата
Msg-id CAGbXvMY_Ca0XtuENdrCznTgYs-YzWbLEz5nQSzcNpP-H7BbCbg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Inheritance  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
Hi,

I've been reading some threads about inheritance, and how complicated it seems to let child (children) to inherit constraints and indexes (behaviors). In fact this seems to have been the issue for years, with no resolution.

However, inheritance is a very good feature, and it would be great to have it feature complete.

To try to unlock the feature, to be more complete, how about introducing restriction to inheritance like:

 - Allow single (behavior) inheritance (model here is quite a few modern languages, such as C#, D, ...)
 - Allow multiple declarative inheritance (interface like, the inheritance almost works like this today though)

If, with these restrictions (or maybe only the first), do you think that it will simplify implementation and make it more feature complete?

Kind regards,
Jan Johansson

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Latent cache flush hazard in RelationInitIndexAccessInfo
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Parallel query