Re: BEFORE triggers that return NULL can circumvent referentialintegrity
В списке pgsql-bugs по дате отправления:
| От | Jim Finnerty |
|---|---|
| Тема | Re: BEFORE triggers that return NULL can circumvent referentialintegrity |
| Дата | |
| Msg-id | 1540993207811-0.post@n3.nabble.com обсуждение исходный текст |
| Ответ на | Re: BEFORE triggers that return NULL can circumvent referential integrity (Pavel Stehule <pavel.stehule@gmail.com>) |
| Список | pgsql-bugs |
Thank you, Pavel. The initial issue is the willingness to modify the RETURN NULL semantics so that it causes a statement to fail if the triggering event was a referential action, thereby preserving both Foreign Key semantics and RETURN NULL semantics in cases other than when it breaks referential integrity. In my opinion, extending SQL in a way that broke referential integrity was a mistake, but it's a mistake that can be fixed without too much impact on existing applications. If the community is willing to accept that RETURN NULL needs this tweak to its semantics, we can provide an implementation and will post it to pghackers. ----- Jim Finnerty, AWS, Amazon Aurora PostgreSQL -- Sent from: http://www.postgresql-archive.org/PostgreSQL-bugs-f2117394.html
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера