File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -656,7 +656,7 @@ CONTEXT: PL/Perl anonymous code block
656
656
--
657
657
CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
658
658
return "abcd\0efg";
659
- $$ LANGUAGE plperlu ;
659
+ $$ LANGUAGE plperl ;
660
660
SELECT perl_zerob();
661
661
ERROR: invalid byte sequence for encoding "UTF8": 0x00
662
662
CONTEXT: PL/Perl function "perl_zerob"
Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAG
429
429
--
430
430
CREATE OR REPLACE FUNCTION perl_zerob () RETURNS TEXT AS $$
431
431
return " abcd\0efg" ;
432
- $$ LANGUAGE plperlu ;
432
+ $$ LANGUAGE plperl ;
433
433
SELECT perl_zerob();
434
434
435
435
-- make sure functions marked as VOID without an explicit return work
You can’t perform that action at this time.
0 commit comments