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.com PostgreSQL Training, Services and Support -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers