Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJwFq-0008MT-MP for pgsql-performance@arkaria.postgresql.org; Thu, 12 Sep 2013 02:03:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJwFq-0006wX-1h for pgsql-performance@arkaria.postgresql.org; Thu, 12 Sep 2013 02:03:34 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJwFo-0006wQ-RJ for pgsql-performance@postgresql.org; Thu, 12 Sep 2013 02:03:32 +0000 Received: from smtp.01.com ([199.36.142.181] helo=smtp-out-2.01.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJwFh-0000qi-E3 for pgsql-performance@postgresql.org; Thu, 12 Sep 2013 02:03:32 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id A656C390081; Wed, 11 Sep 2013 21:03:24 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp-out-2.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LyqP7vNO3LjU; Wed, 11 Sep 2013 21:03:24 -0500 (CDT) Received: from smtp-out-2.01.com (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 7DA14390175; Wed, 11 Sep 2013 21:03:24 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 6C7F8390171; Wed, 11 Sep 2013 21:03:24 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp-out-2.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Bv2XSknkZ7kK; Wed, 11 Sep 2013 21:03:24 -0500 (CDT) Received: from [192.168.47.103] (50-0-164-84.dsl.dynamic.sonic.net [50.0.164.84]) by smtp-out-2.01.com (Postfix) with ESMTPSA id 2D015390081; Wed, 11 Sep 2013 21:03:22 -0500 (CDT) Message-ID: <523120E9.6020300@agliodbs.com> Date: Wed, 11 Sep 2013 19:03:21 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Andres Freund CC: Andrew Dunstan , Jeff Janes , Amit Kapila , "pgsql-performance@postgresql.org" Subject: Re: Performance bug in prepared statement binding in 9.2? References: <51A79512.4020200@agliodbs.com> <51FAA1B8.6040809@agliodbs.com> <522E69F1.8070203@dunslane.net> <20130910122036.GF1024477@alap2.anarazel.de> <522F146D.2070908@dunslane.net> <5230B801.90507@agliodbs.com> <20130911211253.GF1138556@alap2.anarazel.de> In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org > The explanation is in > http://archives.postgresql.org/message-id/20130910132133.GJ1024477%40alap2.anarazel.de > > The referenced commit introduced a planner feature. Funnily you seem to > have been the trigger for it's introduction ;) Oh, crap, the "off the end of the index" optimization? It's the story of our lives: we can't optimize anything without deoptimizing something else. Dammit. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance