Re: Unruly rules - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unruly rules
Date
Msg-id 9083.970443831@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unruly rules  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The backend process hangs in this loop:

> |     foreach(temp, rangetable)

> Somewhere a list pointer needs to be advanced there.

What?  foreach() does advance the pointer.  The only way this can be
an infinite loop is if the rangetable list is circular.

I wouldn't rank that as out of the question, considering the enthusiasm
with which the rules code munges range lists, but I still don't see it
happening here.  Is anyone else seeing regression failures with current
sources?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: RE: What do I need to be able to compile the source in Win32
Next
From: Ralf Tschiersch
Date:
Subject: pg_log deleted, still help needed (2)