Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vz9R4-0004EL-FF for pgsql-performance@arkaria.postgresql.org; Fri, 03 Jan 2014 18:25:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vz9R3-0006q1-Uj for pgsql-performance@arkaria.postgresql.org; Fri, 03 Jan 2014 18:25:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vz9R3-0006pv-86 for pgsql-performance@postgresql.org; Fri, 03 Jan 2014 18:25:29 +0000 Received: from mailout.scc.kit.edu ([129.13.185.202]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vz9R0-0003OT-Lk for pgsql-performance@postgresql.org; Fri, 03 Jan 2014 18:25:28 +0000 Received: from KIT-MSX-03.kit.edu (kit-msx-03.kit.edu [172.21.117.13]) by scc-mailout-02.scc.kit.edu with esmtps (Exim 4.72 #1) id 1Vz9Qz-0003cn-FA; Fri, 03 Jan 2014 19:25:25 +0100 Received: from [192.168.178.26] (172.21.117.6) by smtp.kit.edu (172.21.117.13) with Microsoft SMTP Server (TLS) id 8.3.327.1; Fri, 3 Jan 2014 19:25:24 +0100 Message-ID: <52C70094.3040006@student.kit.edu> Date: Fri, 3 Jan 2014 19:25:24 +0100 From: Thomas Mayer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Tom Lane CC: pgsql-performance Subject: Re: window function induces full table scan References: <52C5DAD1.20109@student.kit.edu> <17191.1388699570@sss.pgh.pa.us> <18380.1388702592@sss.pgh.pa.us> <20167.1388706955@sss.pgh.pa.us> <52C63E8B.2040806@student.kit.edu> <9269.1388760865@sss.pgh.pa.us> <52C6F712.6040804@student.kit.edu> <4827.1388772253@sss.pgh.pa.us> In-Reply-To: <4827.1388772253@sss.pgh.pa.us> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -4.7 (----) 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 Am 03.01.2014 19:04, schrieb Tom Lane: > I think you need to read the code around subquery_is_pushdown_safe and > qual_is_pushdown_safe some more. > > regards, tom lane > . > In general, I'd need to go throught the pg source code which will take some time. For instance, I wanted to see which are the requirements for a patch to be accepted. Currently, I can't provide you with a patch anyways (lack of time and knowledge). However, I can possibly give it a try in a few weeks. If someone is working on that in the meantime, please let me know. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance