OSDN Git Service

plpgsql can assign to subscripted variables now, e.g.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Mar 2003 03:16:41 +0000 (03:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Mar 2003 03:16:41 +0000 (03:16 +0000)
commit2c19928301e4fc70884937dcfc7f0842cd097631
tree41a343486ad372878036a62a33e6e481eb66c472
parent9e29b32e782e38ebdcb41b217a18fafe3387371e
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.
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/plpgsql.h