Re: child table doesn't inherit PRIMARY KEY?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: child table doesn't inherit PRIMARY KEY?
Дата
Msg-id Pine.BSF.4.21.0101190932480.5520-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: child table doesn't inherit PRIMARY KEY?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Probably, since I see it in near recent sources (and it affects
UNIQUE as well.  As I remember it, the last discussion on this couldn't
determine what the correct behavior for unique/primary key constraints
was in the inheritance case (is it a single unique hierarchy through
all the tables [would be needed for fk to inheritance trees] or
separate unique constraints for each table [which would be similar
to how many people seem to currently use postgres inheritance as a
shortcut]).

On Thu, 18 Jan 2001, Bruce Momjian wrote:

> Does this bug still exist?
>
> [ Charset ISO-8859-1 unsupported, converting... ]
> > Louis-David Mitterrand writes:
> >
> > > When creating a child (through CREATE TABLE ... INHERIT (parent)) it
> > > seems the child gets all of the parent's contraints _except_ its PRIMARY
> > > KEY. Is this normal?


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

Предыдущее
От: Konstantinos Agouros
Дата:
Сообщение: Performance-Tuning
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Performance-Tuning