Re: Window functions patch v04 for the September commit fest - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Window functions patch v04 for the September commit fest
Date
Msg-id 1220429836.4371.664.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Window functions patch v04 for the September commit fest  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Wed, 2008-09-03 at 09:51 +0300, Heikki Linnakangas wrote:
> Simon Riggs wrote:
> > On Tue, 2008-09-02 at 15:51 +0300, Heikki Linnakangas wrote:
> > 
> >> The needs of access to the rows are so different that it seems best to
> >> me to delegate the buffering to the window function.
> > 
> > That seems sensible in some ways, not others.
> 
> In the API I proposed later in that mail, the buffering is actually done 
> by the executor node, not by the window function. Instead, the window 
> function can request abitrary rows of the frame from the executor, and 
> can signal that some rows are no longer required, allowing them to be 
> discarded.

I'm happy with that.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Window functions patch v04 for the September commit fest
Next
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Cleanup of GUC units code