Re: ERROR (Bug?) in RULE processing ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR (Bug?) in RULE processing ?
Дата
Msg-id 2799.1011801628@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ERROR (Bug?) in RULE processing ?  (Fritz Lehmann-Grube <lehmannf@math.TU-Berlin.DE>)
Ответы Re: ERROR (Bug?) in RULE processing ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: ERROR (Bug?) in RULE processing ?
Следующее
От: Oleg Lebedev
Дата:
Сообщение: Re: PGACCESS installation