Re: Inheritance Semantics

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Inheritance Semantics
Дата
Msg-id 200104100300.XAA08743@candle.pha.pa.us
обсуждение исходный текст
Ответ на Inheritance Semantics  (Mark Butler <butlerm@middle.net>)
Ответы The Momjian Tome / DBA Certification  (Thomas Good <tomg@admin.nrnet.org>)
Список pgsql-sql
> Could someone (Chris Mead?) post an update on the status of fixing
> PostgreSQL's inheritance semantics in the following ways:
> 
> Has a decision been made to implementing true inheritance via INHERITS or an
> alternative keyword?
> 
> By true inheritance, I mean first and foremost that any query on a super-class
> should query *all members* of that class by default regardless of which table
> they are stored in.  Any other behavior violates the very natural expectation
> that a table called "PERSON" actually implements the class of all persons.  
> 

7.1 does that already.


> Second, for performance reasons, there needs to be a way for an index on a
> parent class attribute to be shared by all the tables that implement or
> inherit from that parent class.  This is also necessary to enforce unique
> constraints on all members of a class.

That is on the TODO list, so I think we want it to happen.


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Roberto Mello
Дата:
Сообщение: Re: Sorting and then...
Следующее
От: Michael Ansley
Дата:
Сообщение: RE: Sorting and then...