attribute level rules not supported?

From: Marc Tardif <admin(at)wtbwts(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: attribute level rules not supported?
Date: 2000-01-16 13:20:03
Message-ID: Pine.BSF.4.10.10001161319430.1854-100000@server.b0x.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Here's the problem:

test=> CREATE TABLE a ( refb OID, at INT2 );
test=> CREATE TABLE b ( refa OID, bt INT2 );
test=> CREATE RULE ar AS ON UPDATE TO a.at
test-> DO UPDATE b SET b.bt = NEW.at
test-> WHERE refa = OLD.oid;
ERROR: attribute level rules currently not supported

What am I doing wrong? I've read and re-read chapter 8 - rules from the
postgresql programmer's guide, but I can't see why this rule doesn't work.
Any suggestions would be appreciated.

Marc

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2000-01-16 17:13:34 Re: [SQL] Getting environment variables?
Previous Message Egon Rothenberger 2000-01-16 12:51:08