Re: NOTICE: CREATE TABLE will create implicit triggers for foreign-key checks
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: NOTICE: CREATE TABLE will create implicit triggers for foreign-key checks |
| Дата | |
| Msg-id | 28993.1065018682@sss.pgh.pa.us обсуждение |
| Ответ на | NOTICE: CREATE TABLE will create implicit triggers for foreign-key checks (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Regarding the NOTICE
> CREATE TABLE will create implicit triggers for foreign-key checks
> Does anyone care?
I was thinking just the other day that it seemed to be useless clutter.
> 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 interested in are going to be created as a
> side effect.
More to the point, they give the names of the automatically-created
objects. If the FK trigger creation notice included the names of the
triggers then it might have nonzero value. But I'm not sure that people
need to care anymore about the names of the triggers, since there's no
longer much reason to manipulate those triggers. Nowadays you'd
manipulate the FK constraint itself, instead.
I'm in favor of dropping it...
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера