Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 615D363284F for ; Mon, 21 Dec 2009 18:43:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78939-06 for ; Mon, 21 Dec 2009 22:43:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id F3C5A6324A5 for ; Mon, 21 Dec 2009 18:43:06 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NMqwA-0002JW-64 for pgsql-sql@postgresql.org; Mon, 21 Dec 2009 23:41:10 +0100 Received: from 188.174.28.251 ([188.174.28.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Dec 2009 23:41:10 +0100 Received: from spam_eater by 188.174.28.251 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Dec 2009 23:41:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: Thomas Kellerer Subject: Re: 8.4.1 distinct query WITHOUT order by Date: Mon, 21 Dec 2009 23:38:30 +0100 Lines: 7 Message-ID: References: <302670f20912211415n4fc73b04x19eebfb9ff0acd60@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 188.174.28.251 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: <302670f20912211415n4fc73b04x19eebfb9ff0acd60@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.532 tagged_above=-10 required=5 tests=BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067 X-Spam-Level: X-Archive-Number: 200912/49 X-Sequence-Number: 33487 Gary Chambers wrote on 21.12.2009 23:15: > The current maintainer is unsure about being able to do the right > thing and recompile the code after fixing the query. Why not simply add the necessary GROUP BY? Thomas