X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id A358530E6B0 for ; Tue, 10 Jun 2003 02:49:01 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 13817-04 for ; Mon, 9 Jun 2003 23:48:51 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 24D9B310B00 for ; Mon, 9 Jun 2003 14:06:19 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h59E6HU6017142; Mon, 9 Jun 2003 10:06:17 -0400 (EDT) To: Eivind Kvedalen Cc: pgsql-sql@postgresql.org Subject: Re: "Join" on delimeter aggregate query In-reply-to: References: <200306061003.29430.mike@nachbaur.com> <3649.1055120755@sss.pgh.pa.us> Comments: In-reply-to Eivind Kvedalen message dated "Mon, 09 Jun 2003 10:35:10 +0200" Date: Mon, 09 Jun 2003 10:06:16 -0400 Message-ID: <17141.1055167576@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200306/66 X-Sequence-Number: 13824 Eivind Kvedalen writes: > Ok. What I actually had in mind was whether the optimizer would remove the > ORDER BY clause completely or not, No. If you put an ORDER BY in a subselect, I think the system should honor it. regards, tom lane