Commit d3b372e9 authored by Robert Haas's avatar Robert Haas

Emphasize where OVER needs to be when using a window function.

Jeff Turner
parent 5925aa09
...@@ -371,7 +371,7 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps ...@@ -371,7 +371,7 @@ SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM emps
<para> <para>
A window function call always contains an <literal>OVER</> clause A window function call always contains an <literal>OVER</> clause
following the window function's name and argument(s). This is what directly following the window function's name and argument(s). This is what
syntactically distinguishes it from a regular function or aggregate syntactically distinguishes it from a regular function or aggregate
function. The <literal>OVER</> clause determines exactly how the function. The <literal>OVER</> clause determines exactly how the
rows of the query are split up for processing by the window function. rows of the query are split up for processing by the window function.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment