diff options
Diffstat (limited to 'doc/src/sgml/ref/create_aggregate.sgml')
-rw-r--r-- | doc/src/sgml/ref/create_aggregate.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/create_aggregate.sgml b/doc/src/sgml/ref/create_aggregate.sgml index 6024a168587..83094361f6a 100644 --- a/doc/src/sgml/ref/create_aggregate.sgml +++ b/doc/src/sgml/ref/create_aggregate.sgml @@ -1,5 +1,5 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.37 2007/01/31 23:26:03 momjian Exp $ +$PostgreSQL: pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.38 2007/02/01 00:28:18 momjian Exp $ PostgreSQL documentation --> @@ -145,11 +145,11 @@ CREATE AGGREGATE <replaceable class="PARAMETER">name</replaceable> ( input row. If this aggregate can be so optimized, indicate it by specifying a <firstterm>sort operator</>. The basic requirement is that the aggregate must yield the first element in the sort ordering induced by - the operator; in other words + the operator; in other words: <programlisting> SELECT agg(col) FROM tab; </programlisting> - must be equivalent to + must be equivalent to: <programlisting> SELECT col FROM tab ORDER BY col USING sortop LIMIT 1; </programlisting> |