| От | Gerardo Herzig |
|---|---|
| Тема | Re: transaction and triggers |
| Дата | |
| Msg-id | 4790C6E4.4030002@fmed.uba.ar обсуждение исходный текст |
| Ответ на | Re: transaction and triggers (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-sql |
Alvaro Herrera wrote: >Gerardo Herzig escribió: > > > >>Right. But today, that trigger do some other work, wich includes writing >>some files to disk, so there is my problem. Crap, i guess i will have to >>review the main logic. >> >> > >Probably it's better to move the actual file writing to a listener >external process -- the transaction only does a NOTIFY, which is certain >to be delivered only when the transaction commits. So if it aborts, no >spurious write occurs. > > > Mmmhmm, sounds good...I will give it a try on monday. Now its beer time :) Thanks all. Gerardo
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера