Document that LIMIT NULL is the same as no LIMIT clause.
authorBruce Momjian <[email protected]>
Sat, 7 Feb 2009 20:11:16 +0000 (20:11 +0000)
committerBruce Momjian <[email protected]>
Sat, 7 Feb 2009 20:11:16 +0000 (20:11 +0000)
doc/src/sgml/queries.sgml

index 72126d8ada1714ffa54eedd845ca07894845e7ff..1a55def3fa82682535835f8d42d0837a4afeec8a 100644 (file)
@@ -1402,8 +1402,9 @@ SELECT <replaceable>select_list</replaceable>
 
   <para>
    <literal>OFFSET</> says to skip that many rows before beginning to
-   return rows.  <literal>OFFSET 0</> is the same as
-   omitting the <literal>OFFSET</> clause.  If both <literal>OFFSET</>
+   return rows.  <literal>OFFSET 0</> is the same as omitting the
+   <literal>OFFSET</> clause, and <literal>LIMIT NULL</> is the same
+   as omitting the <literal>LIMIT</> clause.  If both <literal>OFFSET</>
    and <literal>LIMIT</> appear, then <literal>OFFSET</> rows are
    skipped before starting to count the <literal>LIMIT</> rows that
    are returned.