On Thu, Jul 25, 2013 at 8:44 AM, Andrew Bartley <ambart...@gmail.com> wrote:

> create rule cats_test as on update to cats do set a = new.b;
>

I would use a column trigger attached to the 'a' column. Rules are
better for query rewriting rather than from semantic changes.
That's my opinion.

Luca


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to