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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Atul Chojar" <achojar(at)airfacts(dot)com>
Cc: 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-10 20:51:44
Message-ID: 13091.1244667104@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

"Atul Chojar" <achojar(at)airfacts(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ricardo Mercado Araneda 2009-06-10 21:16:39 Sobre Actualizacion
Previous Message Atul Chojar 2009-06-10 20:24:25 Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-06-10 22:28:31 Re: help with data recovery from injected UPDATE
Previous Message Atul Chojar 2009-06-10 20:24:25 Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???