Re: inheritence behavior question ....

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: inheritence behavior question ....
Дата
Msg-id 20020324191919.H29220-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на inheritence behavior question ....  (<tsmets@brutele.be>)
Список pgsql-general
On Mon, 25 Mar 2002 tsmets@brutele.be wrote:

>
> I did the following  which sounds illogical to me :
> <snip>
> test=> create table father (col1 integer not null unique);
> NOTICE:  CREATE TABLE/UNIQUE will create implicit index 'father_col1_key'
> for table 'father'
> CREATE
> test=> create table son (col2 integer) inherits (father);
> CREATE

Currently primary keys, unique constraints and foreign keys do not
inherit to child tables.  There's also no current notion of unique
across the inheritance tree build in (you can probably kind of fake it
with an additional table and a bunch of rules, but...)

k


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

Предыдущее
От: "Cornelia Boenigk"
Дата:
Сообщение: Re: inheritence behavior question ....
Следующее
От: Jeff Davis
Дата:
Сообщение: Another notify question