Extend the set of frame options supported for window functions.

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

Commit: ec4be2ee6827b6bd85e0813c7a8993cfbb0e6fa7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-02-12T17:33:21Z
Releases: 9.0.0
Extend the set of frame options supported for window functions.

This patch allows the frame to start from CURRENT ROW (in either RANGE or
ROWS mode), and it also adds support for ROWS n PRECEDING and ROWS n FOLLOWING
start and end points.  (RANGE value PRECEDING/FOLLOWING isn't there yet ---
the grammar works, but that's all.)

Hitoshi Harada, reviewed by Pavel Stehule

Files