Suggested patch to plpgsql docs (7.4beta)

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Suggested patch to plpgsql docs (7.4beta)
Дата
Msg-id 200309031845.53722.dev@archonet.com
обсуждение исходный текст
Ответы Re: Suggested patch to plpgsql docs (7.4beta)  (Peter Eisentraut <peter_e@gmx.net>)
Re: Suggested patch to plpgsql docs (7.4beta)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
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.
--
  Richard Huxton
  Archonet Ltd

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

Предыдущее
От: Ian Barwick
Дата:
Сообщение: German FAQ update
Следующее
От: "Dan Langille"
Дата:
Сообщение: Re: [HACKERS] What goes into the security doc?