Re: Bug #566: Primary key not working correctly with

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Bug #566: Primary key not working correctly with
Дата
Msg-id 20020123080432.O18169-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Bug #566: Primary key not working correctly with inheritance  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
On Wed, 23 Jan 2002 pgsql-bugs@postgresql.org wrote:

> Short Description
> Primary key not working correctly with inheritance

This is a well known deficiency with the inheritance system.  Certain
things (primary and foreign keys as an example) don't inherit right now.
For primary key, AFAIK we don't have a real mechanism in place to do
a single primary key over multiple tables, but if you just want child
to be unique across itself (ie, you could insert a 1 in parent and in
child, but not two 1's in child) you can make a unique index across
child(id).

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Bug #566: Primary key not working correctly with inheritance
Следующее
От: Mark Rae
Дата:
Сообщение: Error Restoring Large Database