Re: [HACKERS] Re: Constraints and inheritance

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] Re: Constraints and inheritance
Дата
Msg-id 353BF3E7.7D1F063F@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на Re: Constraints and inheritance  ("Oliver Elphick" <olly@lfix.co.uk>)
Список pgsql-hackers
Oliver Elphick wrote:
>
> I am thinking only of check constraints, at the moment.  As I said above,
> I think that the primary key should apply to all descendants, using the same
> index.  I am not sure about foreign keys, NOT NULL and UNIQUE.

This can be done: we could store table' oid in btree index items
and keep index items for all tables in one index.

Vadim

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

Предыдущее
От: Hostmaster@phoenixcomm.net
Дата:
Сообщение: subscribe
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: [QUESTIONS] Configuration problems in PostgreSQL 6.3.2 on Linux-ELF