Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
В списке pgsql-general по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ??? |
| Дата | |
| Msg-id | 20090611110017.GA16553@depesz.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 ???
|
| Список | pgsql-general |
On Thu, Jun 11, 2009 at 12:45:56PM +0200, Pavel Stehule wrote: > generally - modification of cycle's control variable isn't good > technique, because it's should be broken by some optimizations. When i would argue then that these optimizations are broken, then. > you would to modify this some variables, then use "while-loop" > instead. while technically possible, i find for loops much more straight forward, and clearer to understand. Best regards, depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера