Re: TODO List

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: TODO List
Дата
Msg-id 200107201656.f6KGuVA21002@candle.pha.pa.us
обсуждение исходный текст
Ответ на TODO List  ("Chris Ruprecht" <chrup999@yahoo.com>)
Ответы Re: TODO List  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
> 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,
Pennsylvania19026
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Magnus Landahl"
Дата:
Сообщение: Get the tables names?
Следующее
От: Nils Zonneveld
Дата:
Сообщение: Re: Records exactly the same.