Re: pre-commit triggers - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pre-commit triggers
Date
Msg-id 20131117183136.GA19184@alap2.anarazel.de
Whole thread Raw
In response to Re: pre-commit triggers  (Hannu Krosing <hannu@2ndQuadrant.com>)
Responses Re: pre-commit triggers  (Hannu Krosing <hannu@2ndQuadrant.com>)
List pgsql-hackers
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.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Rohit Goyal
Date:
Subject: Compile and test in netbeans
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Wildcard usage enhancements in .pgpass