Re: Review remove {join,from}_collapse_limit, add enable_join_ordering - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Review remove {join,from}_collapse_limit, add enable_join_ordering
Date
Msg-id 11094.1247761386@sss.pgh.pa.us
Whole thread Raw
In response to Re: Review remove {join,from}_collapse_limit, add enable_join_ordering  (Andres Freund <andres@anarazel.de>)
Responses Re: Review remove {join,from}_collapse_limit, add enable_join_ordering
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On Thursday 16 July 2009 17:16:31 Tom Lane wrote:
>> I tried the example query and couldn't get "Failed to make a valid plan"
>> out of it ... what settings do you need for that?

> It unfortunately depends on settings and luck. This dependence on luck was the 
> reason why I liked geqo to behave "somewhat" deterministically...

> With  {join,from}_collapse_limit = 100 it seems to be triggered reliably. With 
> lower values it seems harder trigger, with bigger it simply takes too long to 
> even get there.

OK, I see it at 100.  Would you confirm that what you get is the failure
in random_init_pool (geqo_pool.c) not the identically-phrased message
elsewhere?  (If you have VERBOSITY = verbose you should see the error
location info.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: slow count in window query
Next
From: Andres Freund
Date:
Subject: Re: Review remove {join,from}_collapse_limit, add enable_join_ordering