Re: Windowing Qual Pushdown - Mailing list pgsql-hackers

From Daniel Farina
Subject Re: Windowing Qual Pushdown
Date
Msg-id 7b97c5a41003230120y71d58c6cld580b7b222391855@mail.gmail.com
Whole thread Raw
In response to Re: Windowing Qual Pushdown  (Hitoshi Harada <umi.tanuki@gmail.com>)
Responses Re: Windowing Qual Pushdown
List pgsql-hackers
On Tue, Mar 23, 2010 at 12:40 AM, Hitoshi Harada <umi.tanuki@gmail.com> wrote:
> I believe the changes will probably not be 2-3 lines (ie. a member
> added to Query structure, etc) if I try it. But the optimizer part is
> too complicated to me so that I am not sure, either. My idea above is
> that the similar mechanism you see in GROUP BY optimization will help

Are you suggesting that the windowing clause should perhaps refer to a
column in the target list, much like GROUP BY/ORDER BY, so that  one
can easily see if the qual in the fromexpr corresponds to the
windowClause to see if the pushdown is safe?

fdr


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: WIP: preloading of ispell dictionary
Next
From: Magnus Hagander
Date:
Subject: Re: Ragged latency log data in multi-threaded pgbench