plpgsql can assign to subscripted variables now, e.g.

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

Commit: 2c19928301e4fc70884937dcfc7f0842cd097631
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-03-25T03:16:41Z
Releases: 7.4.1
plpgsql can assign to subscripted variables now, e.g.
	x[42] := whatever;
The facility is pretty primitive because it doesn't do array slicing and
it has the same semantics as array update in SQL (array must already
be non-null, etc).  But it's a start.

Files

PathChange+/−
src/pl/plpgsql/src/gram.y modified +29 −6
src/pl/plpgsql/src/pl_exec.c modified +203 −37
src/pl/plpgsql/src/pl_funcs.c modified +7 −1
src/pl/plpgsql/src/plpgsql.h modified +14 −3