Josh Berkus <josh@agliodbs.com> writes:
>> True, but there were clear benefits from doing so.  Disallowing "="
>> assignment in plpgsql wouldn't buy anything, just break programs.

> But it's already disallowed in most places.

No it isn't.  The plpgsql scanner treats := and = as *the same token*.
They can be interchanged freely.  This has nothing to do with the case
of modifying a loop variable in particular.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to