From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fritz Lehmann-Grube <lehmannf@math.TU-Berlin.DE>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: ERROR (Bug?) in RULE processing ?
Date: Wed, 23 Jan 2002 11:00:28 -0500
Message-ID: <2799.1011801628@sss.pgh.pa.us> (raw)
In-Reply-To: <3C4ECC12.A78DCE45@math.tu-berlin.de>
References: <3C4ECC12.A78DCE45@math.tu-berlin.de>
Fritz Lehmann-Grube <lehmannf@math.TU-Berlin.DE> writes:
> Can somebody tell what this errormessage means ?
> ERROR: fireRIRrules: failed to remove aggs from qual
The reason it's such an unfriendly error message is that it's an
internal "shouldn't ever happen" check.
What you actually did wrong was to use an aggregate function (count())
in the rule's WHERE clause. This should have been rejected much further
upstream, like when you tried to create the rule. That error test
doesn't seem to be there now though :-(
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, lehmannf@math.TU-Berlin.DE
Subject: Re: ERROR (Bug?) in RULE processing ?
In-Reply-To: <2799.1011801628@sss.pgh.pa.us>
* 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