Re: get_loop_count() fails to ignore RELOPT_DEADREL rels - Mailing list pgsql-hackers

From Tom Lane
Subject Re: get_loop_count() fails to ignore RELOPT_DEADREL rels
Date
Msg-id 27054.1406385305@sss.pgh.pa.us
Whole thread Raw
In response to get_loop_count() fails to ignore RELOPT_DEADREL rels  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: get_loop_count() fails to ignore RELOPT_DEADREL rels
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> In order to get my patch working with an Assert enabled build I've had to
> apply the attached patch.

That patch is entirely bogus.  What you should be asking is why
get_loop_count is being applied to a relation that's supposedly been
removed from the query.  It should only get applied to rels that are
required outer rels for a parameterized path, and thus certainly
not dead.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG - broken "make check" if different options
Next
From: Tom Lane
Date:
Subject: Re: SKIP LOCKED DATA (work in progress)