]> granicus.if.org Git - postgresql/commitdiff
Additional cross-references to window functions documentation.
authorRobert Haas <rhaas@postgresql.org>
Sat, 3 Jul 2010 02:57:46 +0000 (02:57 +0000)
committerRobert Haas <rhaas@postgresql.org>
Sat, 3 Jul 2010 02:57:46 +0000 (02:57 +0000)
Erik Rijkers

doc/src/sgml/advanced.sgml
doc/src/sgml/queries.sgml
doc/src/sgml/syntax.sgml

index 6bb6ca99d108e7c83b24739e79b020969230810c..38045b51fddc2ed896efae3461460c786bed320d 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.60 2010/04/03 07:22:52 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.61 2010/07/03 02:57:46 rhaas Exp $ -->
 
  <chapter id="tutorial-advanced">
   <title>Advanced Features</title>
@@ -554,6 +554,7 @@ SELECT sum(salary) OVER w, avg(salary) OVER w
    <para>
     More details about window functions can be found in
     <xref linkend="syntax-window-functions">,
+    <xref linkend="functions-window">,
     <xref linkend="queries-window">, and the
     <xref linkend="sql-select"> reference page.
    </para>
index 5e165a38f2b48a68bd445178fbe08ffa019f3f58..26bc2243843356b48bd1c8241b97d71f831476c8 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.57 2010/04/03 07:22:55 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.58 2010/07/03 02:57:46 rhaas Exp $ -->
 
 <chapter id="queries">
  <title>Queries</title>
@@ -979,7 +979,8 @@ SELECT product_id, p.name, (sum(s.units) * (p.price - p.cost)) AS profit
 
    <para>
     If the query contains any window functions (see
-    <xref linkend="tutorial-window"> and
+    <xref linkend="tutorial-window">,
+    <xref linkend="functions-window"> and
     <xref linkend="syntax-window-functions">), these functions are evaluated
     after any grouping, aggregation, and <literal>HAVING</> filtering is
     performed.  That is, if the query uses any aggregates, <literal>GROUP
index c74ad264e7ba33af698898dea728a2309f079638..bf63425a719a042cc7980218cf714e8b59ca303f 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.146 2010/06/09 16:43:47 alvherre Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/syntax.sgml,v 1.147 2010/07/03 02:57:46 rhaas Exp $ -->
 
 <chapter id="sql-syntax">
  <title>SQL Syntax</title>
@@ -1761,7 +1761,8 @@ UNBOUNDED FOLLOWING
 
    <para>
     More information about window functions can be found in
-    <xref linkend="tutorial-window"> and
+    <xref linkend="tutorial-window">,
+    <xref linkend="functions-window">,
     <xref linkend="queries-window">.
    </para>
   </sect2>