aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-10-31 04:50:52 +0000
committerBruce Momjian <bruce@momjian.us>2001-10-31 04:50:52 +0000
commit85801ed9b860cba28ec5e79f1dc35ce4dcbf1c9d (patch)
tree482876bb33df1a50d3a8954c189e696ec14e92d9 /doc/src
parent4911c85e86a8491e97032515dee59a9612ba7e3a (diff)
downloadpostgresql-85801ed9b860cba28ec5e79f1dc35ce4dcbf1c9d.tar.gz
postgresql-85801ed9b860cba28ec5e79f1dc35ce4dcbf1c9d.zip
Attached is a small patch for the Reference Manual which adds
information about nulls and sort order. This is based on information obtained from Peter Eisentraut and Tom Lane on pgsql-hackers. Please check my English and Docbook markup, as both are a second language to me. Rene Pijlman
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/select.sgml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml
index 7765af05d14..3d45eff040e 100644
--- a/doc/src/sgml/ref/select.sgml
+++ b/doc/src/sgml/ref/select.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.49 2001/10/23 16:42:36 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/select.sgml,v 1.50 2001/10/31 04:50:52 momjian Exp $
Postgres documentation
-->
@@ -601,6 +601,13 @@ SELECT name FROM distributors ORDER BY code;
specific ordering operator name may be specified. ASC is equivalent
to USING &lt; and DESC is equivalent to USING &gt;.
</para>
+
+ <para>
+ The null value sorts higher than any other value in a domain. In other
+ words, with ascending sort order nulls sort at the end and with
+ descending sort order nulls sort at the beginning.
+ </para>
+
</refsect2>
<refsect2 id="SQL-UNION">