"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Either I'm confused about the syntax description rules or the documentation
> for this aspect of window definitions is wrong.
> The expression:
> [ RANGE | ROWS ] BETWEEN frame_start AND frame_end
> means that the specification of range or rows is optional - but that
> doesn't appear to be the case...
> The documentation should read:
> { RANGE | ROWS } BETWEEN frame_start AND frame_end
Yup, you're right. Thanks for spotting that!
regards, tom lane