Thread: pgsql: Check values passed back from PLPerl to the database, via

pgsql: Check values passed back from PLPerl to the database, via

From
adunstan@postgresql.org (Andrew Dunstan)
Date:
Log Message:
-----------
Check values passed back from PLPerl to the database, via function return,
trigger tuple modification or SPI call, to ensure they are valid in the
server encoding. Along the way, replace uses of SvPV(foo, PL_na)
with SvPV_nolen(foo) as recommended in the perl docs. Bug report from
Hannu Krosing.

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.157 -> r1.158)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.157&r2=1.158)