Allow plpgsql IN parameters to be assigned to. Since the parameters are just

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0f427dfe5ae26f4b792f4f0b8d235dd60a1d144f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-09-20T01:53:32Z
Releases: 9.0.0
Allow plpgsql IN parameters to be assigned to.  Since the parameters are just
preinitialized local variables, this does not affect the function's semantics
as seen by callers; allowing assignment simply avoids the need to create more
local variables in some cases.  In any case we were being rather inconsistent
since only scalar parameters were getting marked constant.

No documentation change, since parameters were never documented as being
marked constant anyway.

Steve Prentice

Files

PathChange+/−
src/pl/plpgsql/src/pl_comp.c modified +1 −5