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

From Pavel Stehule
Subject Re: Different handling of PL/pgSQL for-loop variables in 8.3.7 vs. 8.2.7 ???
Date
Msg-id 162867790906102148s70b07c24tb18e5660686f3be@mail.gmail.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>)
List pgsql-general
Hello

2009/6/10 Tom Lane <tgl@sss.pgh.pa.us>:
> "Atul Chojar" <achojar@airfacts.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
>

we should to mark control varables as read-only?

regards
Pavel Stehule

> --
> 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 by date:

Previous
From: Chris
Date:
Subject: Re: [sfpug] "Rails and PostgreSQL" now up on media.postgresql.org
Next
From: "Albe Laurenz"
Date:
Subject: Re: Libpq on windows