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

Commit 68a8f26

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 4637123 commit 68a8f26

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
@@ -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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,8 +1806,8 @@ FROM generate_series(1,10) AS s(i);
18061806
and the optional <replaceable class="parameter">frame_clause</replaceable>
18071807
can be one of
18081808
<synopsis>
1809-
[ RANGE | ROWS ] <replaceable>frame_start</>
1810-
[ RANGE | ROWS ] BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
1809+
{ RANGE | ROWS } <replaceable>frame_start</>
1810+
{ RANGE | ROWS } BETWEEN <replaceable>frame_start</> AND <replaceable>frame_end</>
18111811
</synopsis>
18121812
where <replaceable>frame_start</> and <replaceable>frame_end</> can be
18131813
one of

0 commit comments

Comments
 (0)