Re: LIMIT and UNION ALL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dave Johansen <davejohansen(at)gmail(dot)com>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: LIMIT and UNION ALL
Date: 2011-05-26 17:00:43
Message-ID: 25771.1306429243@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Dave Johansen <davejohansen(at)gmail(dot)com> writes:
> ... So is there a way to make the
> planner perform the same sort of operation and push those same constraints
> into the sub-queries on its own?

No. As was mentioned upthread, there is a solution for this in 9.1,
although it doesn't work in exactly the way you suggest.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2011-05-26 17:08:18 Re: Hash Anti Join performance degradation
Previous Message Merlin Moncure 2011-05-26 16:45:38 Re: The shared buffers challenge