Re: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) ?
От
Gregory Wood
Тема
Re: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) ?
Дата
Msg-id
00bb01c0ce7a$848dc770$7889ffcc@comstock.com
Список
Дерево обсуждения
Re: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) ? "Gregory Wood" <gregw@com-stock.com>
RE: NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s) ? "Christian Marschalek" <cm@chello.at>
> Can anyone tell me what this notice means? > > NOTICE: CREATE TABLE will create implicit trigger(s) for FOREIGN KEY > check(s) ? It means that PostgreSQL will automatically create triggers to perform your foreign key checks :) Seriously though, PostgreSQL has to have some mechanism to check that your foreign key values exist (or not), and it does that by using a feature already built into PostgreSQL: triggers. Nothing you really need to worry about unless you are doing something fancy (for instance, disabling all triggers on either table to accomplish some action... in such a case your foreign key relationship might be broken). Greg
В списке pgsql-general по дате отправления
От: Joel Burton
Дата:
От: Stephan Szabo
Дата: