2 -- Make sure strings are validated
3 -- Should fail for all encodings, as nul bytes are never permitted.
5 CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
9 ERROR: invalid byte sequence for encoding "SQL_ASCII": 0x00
10 CONTEXT: PL/Perl function "perl_zerob"