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

Commit 276a8f4

Browse files
committed
Additional cross-references to window functions documentation.
Erik Rijkers
1 parent 97301ab commit 276a8f4

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

doc/src/sgml/advanced.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.60 2010/04/03 07:22:52 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.61 2010/07/03 02:57:46 rhaas Exp $ -->
22

33
<chapter id="tutorial-advanced">
44
<title>Advanced Features</title>
@@ -554,6 +554,7 @@ SELECT sum(salary) OVER w, avg(salary) OVER w
554554
<para>
555555
More details about window functions can be found in
556556
<xref linkend="syntax-window-functions">,
557+
<xref linkend="functions-window">,
557558
<xref linkend="queries-window">, and the
558559
<xref linkend="sql-select"> reference page.
559560
</para>

doc/src/sgml/queries.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.57 2010/04/03 07:22:55 petere Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.58 2010/07/03 02:57:46 rhaas Exp $ -->
22

33
<chapter id="queries">
44
<title>Queries</title>
@@ -979,7 +979,8 @@ SELECT product_id, p.name, (sum(s.units) * (p.price - p.cost)) AS profit
979979

980980
<para>
981981
If the query contains any window functions (see
982-
<xref linkend="tutorial-window"> and
982+
<xref linkend="tutorial-window">,
983+
<xref linkend="functions-window"> and
983984
<xref linkend="syntax-window-functions">), these functions are evaluated
984985
after any grouping, aggregation, and <literal>HAVING</> filtering is
985986
performed. That is, if the query uses any aggregates, <literal>GROUP

doc/src/sgml/syntax.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.146 2010/06/09 16:43:47 alvherre Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.147 2010/07/03 02:57:46 rhaas Exp $ -->
22

33
<chapter id="sql-syntax">
44
<title>SQL Syntax</title>
@@ -1761,7 +1761,8 @@ UNBOUNDED FOLLOWING
17611761

17621762
<para>
17631763
More information about window functions can be found in
1764-
<xref linkend="tutorial-window"> and
1764+
<xref linkend="tutorial-window">,
1765+
<xref linkend="functions-window">,
17651766
<xref linkend="queries-window">.
17661767
</para>
17671768
</sect2>

0 commit comments

Comments
 (0)