X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9C467D7F1B for ; Sat, 27 Aug 2005 22:43:01 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10635-05 for ; Sun, 28 Aug 2005 01:42:58 +0000 (GMT) Received: from mail.nordicbet.com (mail.nordicbet.com [193.69.167.130]) by svr1.postgresql.org (Postfix) with ESMTP id E7ADDD78B5 for ; Sat, 27 Aug 2005 22:42:55 -0300 (ADT) Received: from [80.203.125.83] (helo=tobias.nordicbet.invalid) (Authenticated Sender=tobias@nordicbet.com) by mail.nordicbet.com with esmtpa (Exim 4.50 #1 (Debian)) id 1E9C9g-0005f1-Ao; Sun, 28 Aug 2005 03:40:24 +0200 Received: by tobias.nordicbet.invalid (Postfix, from userid 500) id 25EA0E169B; Sun, 28 Aug 2005 03:42:41 +0200 (CEST) Date: Sun, 28 Aug 2005 03:42:40 +0200 From: Tobias Brox To: Mark Kirkwood Cc: Tom Lane , Tobias Brox , pgsql-performance@postgresql.org Subject: Re: Limit + group + join Message-ID: <20050828014240.GB5736@tobias.lan> References: <20050826002709.GK10328@tobias.lan> <430E85ED.60109@paradise.net.nz> <9501.1125071193@sss.pgh.pa.us> <430FD61A.3020902@paradise.net.nz> <10922.1125181071@sss.pgh.pa.us> <431109FB.6000505@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431109FB.6000505@paradise.net.nz> Organization: Group Nordicbet User-Agent: Mutt/1.5.10i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/484 X-Sequence-Number: 14231 [Tom Lane] > I looked into this and (...) I've committed some changes that hopefully will > let 8.1 be smarter about GROUP BY ... LIMIT queries. [Mark Kirkwood] > Very nice :-) (...) > This is 8.1devel from today. Splendid :-) Unfortunately we will not be upgrading for some monthes still, but anyway I'm happy. This provides yet another good argument for upgrading sooner. I'm also happy to see such a perfect match: - A problem that can be reduced from beeing complex and production-specific, to simple and easily reproducible. - Enthusiastic people testing it and pinpointing even more precisely what conditions will cause the condition - Programmers actually fixing the issue - Testers verifying that it was fixed Long live postgresql! :-) -- Notice of Confidentiality: This email is sent unencrypted over the network, and may be stored on several email servers; it can be read by third parties as easy as a postcard. Do not rely on email for confidential information.