| От | Fran Fabrizio |
|---|---|
| Тема | Triggers after insert |
| Дата | |
| Msg-id | 3BD84892.C25D98CE@mmrd.com обсуждение исходный текст |
| Ответы |
Re: Triggers after insert
Re: Triggers after insert |
| Список | pgsql-general |
I seem to be observing that on a trigger I've created to fire AFTER INSERT, if I intentionally introduce some sort of syntax error to the trigger for example, and insert a row, the row does not appear in the table, even though I've declared it to fire after insert. Shouldn't that row be there regardless of whether the trigger does or does not fire successfully? Or is this currently not how it works? The docs seemed to indicate that it would work that way. The end result is that I need to make sure the insert happens whether or not the trigger is successful. Thanks, Fran
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера