Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f6caf5a

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 7a245bf commit f6caf5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/src/sgml/ref/select.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ WINDOW <replaceable class="parameter">window_name</replaceable> AS ( <replaceabl
779779
The <replaceable class="parameter">frame_clause</> can be one of
780780

781781
<synopsis>
782-
[ RANGE | ROWS ] <replaceable>frame_start</>
783-
[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
782+
{ RANGE | ROWS } <replaceable>frame_start</>
783+
{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
784784
</synopsis>
785785

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

doc/src/sgml/syntax.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1802,8 +1802,8 @@ FROM generate_series(1,10) AS s(i);
18021802
and the optional <replaceable class="parameter">frame_clause</replaceable>
18031803
can be one of
18041804
<synopsis>
1805-
[ RANGE | ROWS ] <replaceable>frame_start</>
1806-
[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
1805+
{ RANGE | ROWS } <replaceable>frame_start</>
1806+
{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
18071807
</synopsis>
18081808
where <replaceable>frame_start</> and <replaceable>frame_end</> can be
18091809
one of

0 commit comments

Comments
 (0)