Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id F1A78B5DBD8 for ; Mon, 23 May 2011 18:31:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 50470-07 for ; Mon, 23 May 2011 21:31:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-4.01.com (smtp-4.01.com [38.102.63.183]) by mail.postgresql.org (Postfix) with ESMTP id 9D081B5DBBD for ; Mon, 23 May 2011 18:31:18 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-4.01.com (Postfix) with ESMTP id 8E19D59D1C for ; Mon, 23 May 2011 16:31:18 -0500 (CDT) Received: from smtp-4.01.com ([127.0.0.1]) by localhost (smtp-4.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Re+f4iP6HLwR for ; Mon, 23 May 2011 16:31:18 -0500 (CDT) Received: by smtp-4.01.com (Postfix, from userid 99) id 7458D59D8A; Mon, 23 May 2011 16:31:18 -0500 (CDT) Received: from Sidney-Stratton.local (70-36-143-243.dsl.dynamic.sonic.net [70.36.143.243]) by smtp-4.01.com (Postfix) with ESMTPSA id 3D80C59CE0 for ; Mon, 23 May 2011 16:31:18 -0500 (CDT) Message-ID: <4DDAD220.2060603@agliodbs.com> Date: Mon, 23 May 2011 14:31:12 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Pushing LIMIT into sub-queries of a UNION ALL? References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/313 X-Sequence-Number: 43822 On 5/23/11 8:54 AM, Dave Johansen wrote: > I apologize for the multiple posts. I sent this email right after joining > the list and after it hadn't shown up a day later I figured that it had been > lost or something and sent the other one. List moderation took a holiday while all of us were at pgCon. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com