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

From hubert depesz lubaczewski
Subject Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Date
Msg-id 20090611102441.GA12246@depesz.com
Whole thread Raw
In response to Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
List 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@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-general by date:

Previous
From: "Shakil Shaikh"
Date:
Subject: Re: Array Parameters in EXECUTE
Next
From: Matt Amos
Date:
Subject: queries on xmin