Re: shortcircuit logic in plpsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: shortcircuit logic in plpsql
Дата
Msg-id 15179.1153279789@sss.pgh.pa.us
обсуждение исходный текст
Ответ на shortcircuit logic in plpsql  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman <jks@selectacast.net> writes:
> Does plpgsql not short circuit its logic?

We make no guarantees about evaluation order.  In the particular
case at hand, you're losing because plpgsql has to evaluate all
the variables that it's going to pass into the SQL engine for
that expression.  Break it into two statements ...

            regards, tom lane

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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: shortcircuit logic in plpsql
Следующее
От: "vamsee movva"
Дата:
Сообщение: is there any dataware housing tools for postgresql