Re: Really dumb planner decision

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Really dumb planner decision
Date: 2009-04-16 12:05:13
Message-ID: alpine.DEB.2.00.0904161259590.4053@aragorn.flymine.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, 16 Apr 2009, Robert Haas wrote:
> What happens if you change join_collapse_limit and from_collapse_limit
> to some huge number?
>
> http://www.postgresql.org/docs/current/static/runtime-config-query.html#GUC-FROM-COLLAPSE-LIMIT

That solves the problem. So, a view is treated as a subquery then?

Matthew

--
Contrary to popular belief, Unix is user friendly. It just happens to be
very selective about who its friends are. -- Kyle Hearn

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Merlin Moncure 2009-04-16 12:06:13 Re: Shouldn't the planner have a higher cost for reverse index scans?
Previous Message Robert Haas 2009-04-16 11:42:30 Re: Really dumb planner decision