Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Дата
Msg-id 13091.1244667104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???  ("Atul Chojar" <achojar@airfacts.com>)
Ответы Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???  (hubert depesz lubaczewski <depesz@depesz.com>)
Список pgsql-general
"Atul Chojar" <achojar@airfacts.com> writes:
> So in 8.3.7, the incrementing of the for-loop variable "idx" is being
> ignored; that is not the case in 8.2.7. Is this a new feature of 8.3.7 or a
> bug?

It's the new implementation.  Depending on unspecified implementation
details is a good way to have broken code.

            regards, tom lane

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

Предыдущее
От: "Atul Chojar"
Дата:
Сообщение: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Следующее
От: Gus Gutoski
Дата:
Сообщение: help with data recovery from injected UPDATE