Re: foreign key constraints and inheritence

Поиск
Список
Период
Сортировка
От Garrett Kalleberg
Тема Re: foreign key constraints and inheritence
Дата
Msg-id 512490CE-5C44-40B9-B464-6AE76AB064EE@metadada.com
обсуждение исходный текст
Ответ на Re: foreign key constraints and inheritence  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
On Jul 17, 2005, at 5:35 AM, Michael Fuhr wrote:

> See the inheritance documentation:
>
> http://www.postgresql.org/docs/8.0/static/ddl-inherit.html
>
> "A serious limitation of the inheritance feature is that indexes
> (including unique constraints) and foreign key constraints only
> apply to single tables, not to their inheritance children.  This
> is true on both the referencing and referenced sides of a foreign
> key constraint."

I think I was just in denial. I'd read it some time ago, but
yesterday I just didn't want to believe it.

What I'd like to believe: that all behaviors (i.e. constraints) are
inherited down the table hierarchy and may be overridden by
identically named behaviors lower in the hierarchy.


Garrett

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

Предыдущее
От: "Sander Steffann"
Дата:
Сообщение: Re: foreign key constraints and inheritence
Следующее
От: "Scott cox"
Дата:
Сообщение: (Win32 Postgres) Slow to Connect first - OK afterwards