Skip to content

Commit 053835d

Browse files
committed
Document that LIMIT NULL is the same as no LIMIT clause.
1 parent 97072ad commit 053835d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/src/sgml/queries.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.52 2008/12/31 00:08:35 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/queries.sgml,v 1.53 2009/02/07 20:11:16 momjian Exp $ -->
22

33
<chapter id="queries">
44
<title>Queries</title>
@@ -1402,8 +1402,9 @@ SELECT <replaceable>select_list</replaceable>
14021402

14031403
<para>
14041404
<literal>OFFSET</> says to skip that many rows before beginning to
1405-
return rows. <literal>OFFSET 0</> is the same as
1406-
omitting the <literal>OFFSET</> clause. If both <literal>OFFSET</>
1405+
return rows. <literal>OFFSET 0</> is the same as omitting the
1406+
<literal>OFFSET</> clause, and <literal>LIMIT NULL</> is the same
1407+
as omitting the <literal>LIMIT</> clause. If both <literal>OFFSET</>
14071408
and <literal>LIMIT</> appear, then <literal>OFFSET</> rows are
14081409
skipped before starting to count the <literal>LIMIT</> rows that
14091410
are returned.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy