Re: Windowing functions - future plans - Mailing list pgsql-general

From David Fetter
Subject Re: Windowing functions - future plans
Date
Msg-id 20091101170342.GF28990@fetter.org
Whole thread Raw
In response to Windowing functions - future plans  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-general
On Sun, Nov 01, 2009 at 12:04:32PM +0100, Thomas Kellerer wrote:
> Hi,
>
> I was wondering if there are plans to extend the window framing
> clause to allow the number of rows in the frame to be specified.
>
> Something like:
>
> ROWS BETWEEN 5 PRECEDING AND 5 FOLLOWING
>
> I did find a comment on the TODO list regarding the framing clause
> ("Implement full support for window framing clauses") but the
> explanation did not mention allowing a number instead of UNBOUND for
> the frame definition.
>
> Oracle and DB2 do support this syntax ;)

Patches welcome :)

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-general by date:

Previous
From: Hervé Piedvache
Date:
Subject: Translate function and strange results ...
Next
From: Arjen Nienhuis
Date:
Subject: Re: Translate function and strange results ...