public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: David G. Johnston <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: ROW or RANGE not optional in range specification
Date: Tue, 31 Mar 2015 19:52:15 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKFQuwYJk-hHqzOC_QFREZzurfqEAKXvmNk71tYOTTcrZGY_KQ@mail.gmail.com>
References: <CAKFQuwYJk-hHqzOC_QFREZzurfqEAKXvmNk71tYOTTcrZGY_KQ@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

"David G. Johnston" <[email protected]> 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


-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: ROW or RANGE not optional in range specification
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox