Re: ERROR action extension for rules?

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ERROR action extension for rules?
Date: 2004-04-20 14:54:30
Message-ID: 1082472869.80320.3.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Cyril VELTER 2004-04-20 15:01:38 Re: Prepared select
Previous Message Bruce Momjian 2004-04-20 14:49:34 Re: COPY CSV keywords