Re: bug in join? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bug in join?
Date
Msg-id 7787.1010011011@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug in join?  (Laurette Cisneros <laurette@nextbus.com>)
List pgsql-hackers
Laurette Cisneros <laurette@nextbus.com> writes:
> Will keep trying.  I also noticed that several triggers were dropped when I
> dropped the table. I need to add these back and see if they make a
> difference.

No, join_selectivity isn't going to care about triggers.  What's failing
is the estimation of the fraction of rows that will match on address
between the two tables (join_selectivity is rejecting the result as
obviously bogus, which it is).  That doesn't depend on anything except
the ANALYZE statistics.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Laurette Cisneros
Date:
Subject: Re: bug in join?
Next
From: Laurette Cisneros
Date:
Subject: Re: bug in join?