summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2009-02-07 20:11:16 +0000
committerBruce Momjian2009-02-07 20:11:16 +0000
commit82d6746d327a2527a686e223b61d494741a08e97 (patch)
tree898c2fbaa07d95e772b95f9b1c5769baf5c0fbbc
parent9f3f0a9935ac094106bb3ed75bf7b50b0dfd9de6 (diff)
Document that LIMIT NULL is the same as no LIMIT clause.
-rw-r--r--doc/src/sgml/queries.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml
index 72126d8ada..1a55def3fa 100644
--- a/doc/src/sgml/queries.sgml
+++ b/doc/src/sgml/queries.sgml
@@ -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.