| От | Feite Brekeveld |
|---|---|
| Тема | Re: after trigger question |
| Дата | |
| Msg-id | 3AB9E9C8.95D6184D@osiris-it.nl обсуждение |
| Ответ на | Re: after trigger question (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
| Список | pgsql-general |
Stephan Szabo wrote: > On Thu, 22 Mar 2001, Feite Brekeveld wrote: > > > Hi, > > > > I have put an AFTER INSERT TRIGGER on a table. > > > > If the triggerfunction fails to do an operation shouldn't the insert > > already have taken place ? > > It depends on what you mean by fails to do an operation. If it > raises an actual error the transaction is going to be rolled back so the > insert is effectively undone. The conversion of a timestring to an integer value fails because it is sometimes illegal formatted , but I would like to have the the original data inserted in the table as a string. -- Feite Brekeveld feite.brekeveld@osiris-it.nl
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера