"Fernando Hevia" <[EMAIL PROTECTED]> writes: > Anyway, the rule didn't work. Got "an infinite recursion error" when > inserting on the table. > Can't figure out where the recursion is
You didn't show us the rule, but I imagine that you think the WHERE clause is applied while expanding the rule. It's not, it can only suppress rows at run-time; and what you've got is infinite macro expansion recursion. regards, tom lane -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql