Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit efb0423

Browse files
committed
Use the right interpreter for encoding test.
1 parent ba00ab0 commit efb0423

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pl/plperl/expected/plperl.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ CONTEXT: PL/Perl anonymous code block
656656
--
657657
CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
658658
return "abcd\0efg";
659-
$$ LANGUAGE plperlu;
659+
$$ LANGUAGE plperl;
660660
SELECT perl_zerob();
661661
ERROR: invalid byte sequence for encoding "UTF8": 0x00
662662
CONTEXT: PL/Perl function "perl_zerob"

src/pl/plperl/sql/plperl.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAG
429429
--
430430
CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
431431
return "abcd\0efg";
432-
$$ LANGUAGE plperlu;
432+
$$ LANGUAGE plperl;
433433
SELECT perl_zerob();
434434

435435
-- make sure functions marked as VOID without an explicit return work

0 commit comments

Comments
 (0)