Re: NOTICE: CREATE TABLE will create implicit triggers for foreign-key

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: NOTICE: CREATE TABLE will create implicit triggers for foreign-key
Дата
Msg-id 3F7AD6F8.50503@bigfoot.com
обсуждение исходный текст
Ответ на NOTICE: CREATE TABLE will create implicit triggers for foreign-key checks  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:> Regarding the NOTICE>> CREATE TABLE will create implicit triggers for foreign-key checks>>
Doesanyone care?
 

I don't care but is a way for a beginner to understand that behind
a foreign key there is a TRIGGER that have not a 0 cost.

> The other "helpful" notices about sequences for serial columns and 
indexes> for unique constraints have some merit, because they inform the user> objects that the user might be
interestedin are going to be created as a> side effect.  But there's nothing that a user can reasonably do with an>
implicittrigger for a foreign-key check.  ISTM that this notice is about> as interesting as the information that CREATE
VIEWwill create an 
 
implicit> rule.

I think that this is a particular implementation of Postgres translate a
View on a Rule, am I wrong ?


BTW shall be nice have this kind of "NOTICE", that may be is better call
"INTERNALS", and switchable off.


Regards
Gaetano Mendola



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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Thoughts on maintaining 7.3
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Wednesday beta postponed till Thursday