Re: foreign keys and inheritance problem

Поиск
Список
Период
Сортировка
От Edoardo Panfili
Тема Re: foreign keys and inheritance problem
Дата
Msg-id 4C6443AC.9000806@aspix.it
обсуждение исходный текст
Ответ на Re: foreign keys and inheritance problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 12/08/10 20.44, Tom Lane wrote:
> Edoardo Panfili<edoardo@aspix.it>  writes:
>> On 12/08/10 18.59, Edoardo Panfili wrote:
>>> I am in some trouble with my tables defined using inheritance,
>
> No, foreign keys do not play very nicely with inheritance.  There is
> some explanation in the manual, in the "Caveats" subsection under
> "Inheritance" --- see bottom of this page:
> http://www.postgresql.org/docs/8.4/static/ddl-inherit.html
>
thank you, I must read with more attenction the page.

I stop the search for a declarative solution, triggers or no check.

thank you again
Edoardo

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

Предыдущее
От: David Boreham
Дата:
Сообщение: Re: MySQL versus Postgres
Следующее
От: "Carlo Stonebanks"
Дата:
Сообщение: Very bad plan when using VIEW and IN (SELECT...*)