Re: get_loop_count() fails to ignore RELOPT_DEADREL rels

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: get_loop_count() fails to ignore RELOPT_DEADREL rels
Date: 2014-07-26 14:35:05
Message-ID: 27054.1406385305@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <dgrowleyml(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-07-26 14:43:01 Re: SKIP LOCKED DATA (work in progress)
Previous Message Tom Lane 2014-07-26 14:30:47 Re: BUG - broken "make check" if different options