Bernd Helmle <mailings(at)oopsware(dot)de> writes:
> But what means "enough tables"?
GEQO_THRESHOLD or more. You can set that anywhere you like (I think the
default is 11 or 12, which is about where the standard exhaustive-search
planner becomes painfully slow).
regards, tom lane