diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-31 20:02:40 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-31 20:03:55 -0400 |
commit | 993674e80e511ac0c22a55c3261ce9760431cedc (patch) | |
tree | dc86265ae5da8b86fee32cb2c01c65436a3342d6 /doc/src/sgml/syntax.sgml | |
parent | 71b368962f21eb3c0ab773dd501c381649f9f268 (diff) |
Fix incorrect markup in documentation of window frame clauses.
You're required to write either RANGE or ROWS to start a frame clause,
but the documentation incorrectly implied this is optional. Noted by
David Johnston.
Diffstat (limited to 'doc/src/sgml/syntax.sgml')
-rw-r--r-- | doc/src/sgml/syntax.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 80d2859ba93..6e4b244e105 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1725,8 +1725,8 @@ SELECT string_agg(a ORDER BY a, ',') FROM table; -- incorrect and the optional <replaceable class="parameter">frame_clause</replaceable> can be one of <synopsis> -[ RANGE | ROWS ] <replaceable>frame_start</> -[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</> +{ RANGE | ROWS } <replaceable>frame_start</> +{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</> </synopsis> where <replaceable>frame_start</> and <replaceable>frame_end</> can be one of |