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 1220420833.4371.613.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>)
Responses Re: Window functions patch v04 for the September commit fest
List pgsql-hackers
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.

Some of the window functions, like lead and lag merely specify window
size and shape for other functions to act upon. For those types of
request I don't see any need for custom functions, whereas for the
comparison/calculation functions there might be a need.

We don't need to implement all the things the SQL Standard calls window
functions with a 1:1 mapping to Postgres functions.

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



pgsql-hackers by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: make dist does not include man.tar.gz and postgres.tar.gz
Next
From: daveg
Date:
Subject: Re: IN vs EXISTS equivalence