Re: What about improving the rules system we have, was Re: Rules going away - Mailing list pgsql-general

From Harald Fuchs
Subject Re: What about improving the rules system we have, was Re: Rules going away
Date
Msg-id 86aa9olinp.fsf@protecting.net
Whole thread Raw
In response to What about improving the rules system we have, was Re: Rules going away  (Chris Travers <chris.travers@gmail.com>)
Responses Re: What about improving the rules system we have, was Re: Rules going away
List pgsql-general
In article <4116.1317226367@sss.pgh.pa.us>,
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Not sure this specific proposal makes any sense at all.  IMO the only
> real advantage that rules have over triggers is that they work on a
> set-operation basis not a tuple-by-tuple basis.

Isn't that what statement-level triggers are for, at least in other DB
systems?  How about telling PostgreSQL's statement-level triggers
something about the set of rows they affect?

pgsql-general by date:

Previous
From: Diego Augusto Molina
Date:
Subject: Re: [Solved] Generic logging system for pre-hstore using plperl triggers
Next
From: Merlin Moncure
Date:
Subject: Re: What about improving the rules system we have, was Re: Rules going away