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

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Atul Chojar <achojar(at)airfacts(dot)com>, pgsql-general(at)postgresql(dot)org, Li <lilian(dot)ying(at)airfacts(dot)com>, 'Andy Yoder' <ayoder(at)airfacts(dot)com>
Subject: Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Date: 2009-06-11 10:24:41
Message-ID: 20090611102441.GA12246@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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.

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pavel Stehule 2009-06-11 10:45:56 Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Previous Message Iñigo Martinez Lasala 2009-06-11 08:47:09 Re: Sobre Actualizacion

Browse pgsql-general by date

  From Date Subject
Next Message Matt Amos 2009-06-11 10:25:49 queries on xmin
Previous Message Shakil Shaikh 2009-06-11 10:07:59 Re: Array Parameters in EXECUTE