Re: pre-commit triggers
| От | Hannu Krosing |
|---|---|
| Тема | Re: pre-commit triggers |
| Дата | |
| Msg-id | 52891359.40101@2ndQuadrant.com обсуждение исходный текст |
| Ответ на | Re: pre-commit triggers (Andres Freund <andres@2ndquadrant.com>) |
| Список | pgsql-hackers |
On 11/17/2013 07:31 PM, Andres Freund wrote: > On 2013-11-17 09:39:26 +0100, Hannu Krosing wrote: >>> Besides, exactly what would you do in such a trigger? >> The use case would be telling another system about the rollback. >> >> Basically sending a "ignore what I told you to do" message > But you can't rely on it - if e.g. the server restarted/crashed, there > won't be any messages about it. In that light, I really don't see what > you could do with it. I can get the info about non-commit earlier :) At some point I can call back into the database and see if the transaction is still running. Cheers -- Hannu Krosing PostgreSQL Consultant Performance, Scalability and High Availability 2ndQuadrant Nordic OÜ
В списке pgsql-hackers по дате отправления: