From: Robert Haas Date: Sat, 3 Jul 2010 02:57:46 +0000 (+0000) Subject: Additional cross-references to window functions documentation. X-Git-Tag: REL9_0_BETA3~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=276a8f4e99188f0307cd747c2e2575f95626d893;p=thirdparty%2Fpostgresql.git Additional cross-references to window functions documentation. Erik Rijkers --- diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml index 6bb6ca99d10..38045b51fdd 100644 --- a/doc/src/sgml/advanced.sgml +++ b/doc/src/sgml/advanced.sgml @@ -1,4 +1,4 @@ - + Advanced Features @@ -554,6 +554,7 @@ SELECT sum(salary) OVER w, avg(salary) OVER w More details about window functions can be found in , + , , and the reference page. diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 5e165a38f2b..26bc2243843 100644 --- a/doc/src/sgml/queries.sgml +++ b/doc/src/sgml/queries.sgml @@ -1,4 +1,4 @@ - + Queries @@ -979,7 +979,8 @@ SELECT product_id, p.name, (sum(s.units) * (p.price - p.cost)) AS profit If the query contains any window functions (see - and + , + and ), these functions are evaluated after any grouping, aggregation, and HAVING filtering is performed. That is, if the query uses any aggregates, GROUP diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index c74ad264e7b..bf63425a719 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -1,4 +1,4 @@ - + SQL Syntax @@ -1761,7 +1761,8 @@ UNBOUNDED FOLLOWING More information about window functions can be found in - and + , + , .