inheritance is madness

Поиск
Список
Период
Сортировка
От T W
Тема inheritance is madness
Дата
Msg-id ed53fec90709202211w2e77c541i64d779ebbdb98c0@mail.gmail.com
обсуждение исходный текст
Ответы Re: inheritance is madness
Список pgsql-novice
Hello Gurus

I'm very surprised at the fact that primary keys are not inherited.
When trying to make foreign keys from a third table to a parent table,
the child table's data is not counted [I assume] due to this fact,
even if the child table has the same primary key. This is really
weird, considering a select from the parent table will return the
child table's data. Does anyone know of a hack to get this behavior to
change, and allow the third table to use a foreign key that references
child table data?

Thanks very much,
Travis

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

Предыдущее
От: Sean Davis
Дата:
Сообщение: Re: selecting other schema's as the public one from php
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: inheritance is madness