Skip to content

Commit 44f8f56

Browse files
committed
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.
1 parent 9f06729 commit 44f8f56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/ref/select.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ WINDOW <replaceable class="parameter">window_name</replaceable> AS ( <replaceabl
704704
The <replaceable class="parameter">frame_clause</> can be one of
705705

706706
<synopsis>
707-
[ RANGE | ROWS ] <replaceable>frame_start</>
708-
[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
707+
{ RANGE | ROWS } <replaceable>frame_start</>
708+
{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
709709
</synopsis>
710710

711711
where <replaceable>frame_start</> and <replaceable>frame_end</> can be

doc/src/sgml/syntax.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,8 +1725,8 @@ SELECT string_agg(a ORDER BY a, ',') FROM table; -- incorrect
17251725
and the optional <replaceable class="parameter">frame_clause</replaceable>
17261726
can be one of
17271727
<synopsis>
1728-
[ RANGE | ROWS ] <replaceable>frame_start</>
1729-
[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
1728+
{ RANGE | ROWS } <replaceable>frame_start</>
1729+
{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
17301730
</synopsis>
17311731
where <replaceable>frame_start</> and <replaceable>frame_end</> can be
17321732
one of

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy