Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
От
Pavel Stehule
Тема
Re: Different handling of PL/pgSQL for-loop variables in
8.3.7 vs. 8.2.7 ???
Дата
Msg-id
162867790906110345h7cf2c620qff02198434fbe08a@mail.gmail.com
Ответ на
Re: Different handling of PL/pgSQL for-loop variables in
8.3.7 vs. 8.2.7 ??? (hubert depesz lubaczewski)
Список
Дерево обсуждения
How to automatically propagate new/changed database functions from one database to another "Atul Chojar" <achojar@airfacts.com>
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 ??? Tom Lane <tgl@sss.pgh.pa.us>
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>
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>
Re: Different handling of PL/pgSQL for-loop variables in
8.3.7 vs. 8.2.7 ??? Pavel Stehule <pavel.stehule@gmail.com>
Re: How to automatically propagate new/changed database
functions from one database to another "Joshua D. Drake" <jd@commandprompt.com>
Re: How to automatically propagate new/changed database functions from one database to another "Atul Chojar" <achojar@airfacts.com>
2009/6/11 hubert depesz lubaczewski : > On Wed, Jun 10, 2009 at 04:51:44PM -0400, Tom Lane wrote: >> It's the new implementation. Depending on unspecified implementation >> details is a good way to have broken code. > > i'm not sure if it's good change. there might be perfectly good reasons > to increment idx from within loop. > generally - modification of cycle's control variable isn't good technique, because it's should be broken by some optimizations. When you would to modify this some variables, then use "while-loop" instead. regards Pavel Stehule > 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 > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general >
В списке pgsql-general по дате отправления
От: hubert depesz lubaczewski
Дата: