Commit 053835d3 authored by Bruce Momjian's avatar Bruce Momjian

Document that LIMIT NULL is the same as no LIMIT clause.

parent 97072ad8
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.52 2008/12/31 00:08:35 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.53 2009/02/07 20:11:16 momjian Exp $ -->
<chapter id="queries"> <chapter id="queries">
<title>Queries</title> <title>Queries</title>
...@@ -1402,8 +1402,9 @@ SELECT <replaceable>select_list</replaceable> ...@@ -1402,8 +1402,9 @@ SELECT <replaceable>select_list</replaceable>
<para> <para>
<literal>OFFSET</> says to skip that many rows before beginning to <literal>OFFSET</> says to skip that many rows before beginning to
return rows. <literal>OFFSET 0</> is the same as return rows. <literal>OFFSET 0</> is the same as omitting the
omitting the <literal>OFFSET</> clause. If both <literal>OFFSET</> <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 and <literal>LIMIT</> appear, then <literal>OFFSET</> rows are
skipped before starting to count the <literal>LIMIT</> rows that skipped before starting to count the <literal>LIMIT</> rows that
are returned. are returned.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment