Re: Pl/pgsql function fails when false

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Pl/pgsql function fails when false
Дата
Msg-id 22869.993160596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Pl/pgsql function fails when false  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
Список pgsql-general
"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> Any ideas why the one would fail while the other would work?

The first one is wrong.

Hint: the loop executes zero times if the SELECT doesn't find anything.

            regards, tom lane

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

Предыдущее
От: "Thalis A. Kalfigopoulos"
Дата:
Сообщение: Pl/pgsql function fails when false
Следующее
От: Ana Carolina Alonso de Armiño
Дата:
Сообщение: postgres 7.0.3 with SuSE 7.1