Received: from darius.concentric.net (darius.concentric.net [207.155.198.79]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f9838An77219 for ; Sun, 7 Oct 2001 23:08:10 -0400 (EDT) (envelope-from nmegill@bostoninformation.com) Received: from newman.concentric.net (newman.concentric.net [207.155.198.71]) by darius.concentric.net [Concentric SMTP Routing 1.0] id f98385G21518 for ; Sun, 7 Oct 2001 23:08:05 -0400 (EDT) Errors-To: Received: from bostoninformation.com (w055.z208176239.bos-ma.dsl.cnc.net [208.176.239.55]) by newman.concentric.net (8.9.1a) id XAA08160; Sun, 7 Oct 2001 23:08:03 -0400 (EDT) Message-ID: <3BC11899.F5DE8D90@bostoninformation.com> Date: Sun, 07 Oct 2001 23:08:09 -0400 From: Norman Megill Organization: Boston Information Group, Inc. X-Mailer: Mozilla 4.78 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: FOR i IN REVERSE documentation error? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200110/32 X-Sequence-Number: 1046 In the 7.2 documentation, Section 23.2.6.2, at http://postgresql.crimelabs.net/devel-corner/docs/postgres/plpgsql-description.html it shows the example: FOR i IN REVERSE 1..10 LOOP -- some expressions here END LOOP; This loop does nothing. I think it should be: FOR i IN REVERSE 10..1 LOOP -- some expressions here END LOOP; which does work (10 iterations). Note: This error is also in the 7.1 documentation. I tested it in 7.1 but not 7.2. Thank you, Norm Megill