From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Chris Ruprecht <chrup999@yahoo.com>
Cc: p-sql <pgsql-sql@postgresql.org>
Subject: Re: TODO List
Date: Fri, 20 Jul 2001 12:56:31 -0400 (EDT)
Message-ID: <200107201656.f6KGuVA21002@candle.pha.pa.us> (raw)
In-Reply-To: <003c01c1112f$97d8fdc0$5dd26383@corp.compucom.com>
> Bruce,
>
> while you're at TO-DO list additions:
>
> I'd like to have a construct like:
>
> loop
> if <condition> then
> next [loop];
> end if;
> [more statements]
> end loop;
>
> I want to be able to skip to the next iteration of the loop, if a certain
> condition is met but I do not want to exit the loop all together. There
> doesn't seem to be functionality for that right now.
You want C 'continue' statement. Is that for Pl/pgSQL?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, chrup999@yahoo.com
Subject: Re: TODO List
In-Reply-To: <200107201656.f6KGuVA21002@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox