public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jean-Christian Imbeault <[email protected]>
To: [email protected]
Subject: Documentation bug report for LIMIT
Date: Wed, 06 Nov 2002 13:39:55 +0900
Message-ID: <[email protected]> (raw)

In 
http://www6.jp.postgresql.org/users-lounge/docs/7.2/postgres/queries-limit.html

it is stated that the syntax is:

SELECT select_list
     FROM table_expression
     [LIMIT { number | ALL }] [OFFSET number]

This following query is valid even though the syntax is wrong:

select id from members order by id limit 5, 6

If this "alternative" syntax is acceptable could you add this 
alternative syntax to the docs? Else, the parser needs to throw an error?

SELECT select_list
     FROM table_expression
     [LIMIT { number | ALL }] [, [OFFSET] number]




view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Documentation bug report for LIMIT
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox