Add some basic support for window frame clauses to the window-functions

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8e8854daa2b4b3ef9e3fc1a56c79608a70018058
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-12-31T00:08:39Z
Releases: 8.4.0
Add some basic support for window frame clauses to the window-functions
patch.  This includes the ability to force the frame to cover the whole
partition, and the ability to make the frame end exactly on the current row
rather than its last ORDER BY peer.  Supporting any more of the full SQL
frame-clause syntax will require nontrivial hacking on the window aggregate
code, so it'll have to wait for 8.5 or beyond.

Files