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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy