Re: Feature proposal: generalizing deferred trigger events - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Feature proposal: generalizing deferred trigger events
Date
Msg-id 4532.1009989076@sss.pgh.pa.us
Whole thread Raw
In response to Feature proposal: generalizing deferred trigger events  (Holger Krug <hkrug@rationalizer.com>)
Responses Re: Feature proposal: generalizing deferred trigger events
List pgsql-hackers
Holger Krug <hkrug@rationalizer.com> writes:
> The proposal consists in generalizing the PostgreSQL deferred trigger
> mechanism to more general types of events.

While I have no inherent objection to that, I'm not seeing what it's
good for either.  What SQL feature would be associated with this?

> One use case would be a PostgreSQL procedure `mark_tx_rollback()' to
> mark a transaction for rollback.

This is unconvincing, since Postgres has no need for rollback procedures
(and I personally will disagree with any attempt to introduce 'em; if
you need one then you have a problem doing crash recovery).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: how to watch parse/plan trees
Next
From: Holger Krug
Date:
Subject: Re: Feature proposal: generalizing deferred trigger events