public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Richard Huxton <[email protected]>
Cc: [email protected]
Subject: Re: Suggested patch to plpgsql docs (7.4beta)
Date: Wed, 3 Sep 2003 19:11:48 -0400 (EDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Richard Huxton wrote:
> Addition of one paragraph to the end of section 39.7.3.4 "FOR (integer
> variant)"
>
> Note that this is basically a WHILE loop, so if the lower bound is larger than
> the upper bound the loop never executes it's contents:
> FOR i IN 10..1 LOOP
> RAISE NOTICE ''I do not raise a notice %'',i;
> END LOOP;
>
> I wasn't sure and had to check, so I assume others might find this useful too.
I figured everyone would assume that. I know of no language that will
execute a loop listed as 10 ... 1.
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
view thread (6+ 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], [email protected]
Subject: Re: Suggested patch to plpgsql docs (7.4beta)
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