diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index eb42daae132a6e3e664825483c12e8961b508d62..8d4018b7ff1b4b7d0c6b20159746a1dfa14a0282 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -651,8 +651,8 @@ WINDOW <replaceable class="parameter">window_name</replaceable> AS ( <replaceabl The <replaceable class="parameter">frame_clause</> 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 diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 80d2859ba934379c22499436bfd07e9abe463be2..6e4b244e1050e100c05ff9176addc8c306c721f2 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