Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVHgm-0000F4-Kf for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2013 08:38:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UVHgm-0008ML-0g for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Apr 2013 08:38:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVHgk-0008MB-OP; Thu, 25 Apr 2013 08:37:58 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UVHgZ-0002GF-AJ; Thu, 25 Apr 2013 08:37:58 +0000 Received: from anarazel.de (p5DDC7FD1.dip0.t-ipconnect.de [93.220.127.209]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MEaVh-1UG8Kr0Cnh-00GLll; Thu, 25 Apr 2013 10:37:40 +0200 Received: by anarazel.de (Postfix, from userid 1000) id 977DF1C00FA; Thu, 25 Apr 2013 10:37:38 +0200 (CEST) Date: Thu, 25 Apr 2013 10:37:38 +0200 From: Andres Freund To: Jov Cc: "Dickson S. Guedes" , th@atsc.nl, pgsql-bugs , pg-dev Subject: Re: [BUGS] BUG #8049: Incorrect results when using ORDER BY and query planner options Message-ID: <20130425083738.GA11158@awork2.anarazel.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V02:K0:yZf1xu1CN+AM4CZPcDxI1KamhUifGBkAkYzlEHpcRS8 u3GJA83Lc2fT23GkIlNgy6LCElFk1pstp8i0TTfUOrIqqbBhzY ObDlB72Ijpt4neW4nPQ/XoNiqUxrErrLxz8wte/4vlTUf2MmXK jpmEWlQP72HSiksZ9jIoTnl+m6FpevPep1IDEpDfDnnMYEZuOp EgYYSDRqiSXgmeoWwiwLkySX+k5KSzgYXqx8wsTM1I/5UpNVQ0 oXIF5ltEGl+c2YMDajGucWh8WyqxjEwW3R9qKqH3jI1C3Z8q2l gsw1F8CFTo+aod4rv5TZJcf3pjf5YVs/FnKsVPPogUHKW7JG4J PEhAr5AeA8rJ2CB1DHrgzN0HWDa4r3wDb/c+IGZFH X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-04-25 16:27:47 +0800, Jov wrote: > I can reproduce on 9.2.4 too. > > plan, but also wrong plan. I think it is a terrible bug. * Just in case you missed it, there's ongoing work to fix it. For some explanations see: http://www.postgresql.org/message-id/6546.1365701142@sss.pgh.pa.us Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers