Thread: pgsql: Adjust plpgsql to allow assignment to an element of an array that

pgsql: Adjust plpgsql to allow assignment to an element of an array that

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Adjust plpgsql to allow assignment to an element of an array that is
initially NULL.  For 8.0 we changed the main executor to have this
behavior in an UPDATE of an array column, but plpgsql's equivalent case
was overlooked.  Per report from Sven Willenberger.

Modified Files:
--------------
    pgsql/src/pl/plpgsql/src:
        pl_exec.c (r1.127 -> r1.128)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c.diff?r1=1.127&r2=1.128)