Check values passed back from PLPerl to the database, via function return,

Andrew Dunstan <andrew@dunslane.net>

Commit: 1c4c741ea93018cc30719e2e24206996018301d4
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2010-01-04T20:29:59Z
Releases: 9.0.0
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.

Files

PathChange+/−
src/pl/plperl/plperl.c modified +32 −14