Tom Lane wrote:
> Rod Taylor <pg(at)rbt(dot)ca> writes:
>> A simple way of doing this might be to use a minimum cost number?
>
> But you don't have any cost numbers until after you've done the plan.
Couldn't this work similar to geqo_effort? The planner could
try planning the query using only cheap algorithmns, and if
the cost exceeds a certain value, it'd restart, and use
more sophisticated methods.
greetings, Florian Pflug