Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6KGuaa96656 for ; Fri, 20 Jul 2001 12:56:36 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f6KGuVA21002; Fri, 20 Jul 2001 12:56:31 -0400 (EDT) From: Bruce Momjian Message-Id: <200107201656.f6KGuVA21002@candle.pha.pa.us> Subject: Re: TODO List In-Reply-To: <003c01c1112f$97d8fdc0$5dd26383@corp.compucom.com> "from Chris Ruprecht at Jul 20, 2001 10:21:04 am" To: Chris Ruprecht Date: Fri, 20 Jul 2001 12:56:31 -0400 (EDT) CC: p-sql X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200107/280 X-Sequence-Number: 4078 > Bruce, > > while you're at TO-DO list additions: > > I'd like to have a construct like: > > loop > if 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