From: Marc Tardif <admin@wtbwts.com>
To: pgsql-sql@postgresql.org
Subject: attribute level rules not supported?
Date: Sun, 16 Jan 2000 13:20:03 +0000 (GMT)
Message-ID: <Pine.BSF.4.10.10001161319430.1854-100000@server.b0x.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: admin@wtbwts.com
Subject: Re: attribute level rules not supported?
In-Reply-To: <Pine.BSF.4.10.10001161319430.1854-100000@server.b0x.com>
References: <Pine.BSF.4.10.10001161319430.1854-100000@server.b0x.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox