Re: ERROR action extension for rules? - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: ERROR action extension for rules?
Date
Msg-id 1082472869.80320.3.camel@jester
Whole thread Raw
In response to ERROR action extension for rules?  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
>      CREATE RULE PasTouche AS ON UPDATE TO foo
>      WHERE old.locked=TRUE
>      DO INSTEAD ERROR;
> 
> I think this simple new rule action could be added to pg.
> I'm planning to do it, if there is no opposition.
> Any comments on this proposed new rule action?
> Or did I missed something obvious with rules?

I've often debated creating an sql elog function for the ELSE segment of
a CASE statement.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY CSV keywords
Next
From: Andrew Dunstan
Date:
Subject: Re: COPY CSV keywords