Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
efb0423c
Commit
efb0423c
authored
Nov 26, 2011
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the right interpreter for encoding test.
parent
ba00ab0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pl/plperl/expected/plperl.out
src/pl/plperl/expected/plperl.out
+1
-1
src/pl/plperl/sql/plperl.sql
src/pl/plperl/sql/plperl.sql
+1
-1
No files found.
src/pl/plperl/expected/plperl.out
View file @
efb0423c
...
...
@@ -656,7 +656,7 @@ CONTEXT: PL/Perl anonymous code block
--
CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
return "abcd\0efg";
$$
LANGUAGE plperl
u
;
$$
LANGUAGE plperl;
SELECT perl_zerob();
ERROR: invalid byte sequence for encoding "UTF8": 0x00
CONTEXT: PL/Perl function "perl_zerob"
...
...
src/pl/plperl/sql/plperl.sql
View file @
efb0423c
...
...
@@ -429,7 +429,7 @@ DO $do$ use warnings FATAL => qw(void) ; my @y; my $x = sort @y; 1; $do$ LANGUAG
--
CREATE
OR
REPLACE
FUNCTION
perl_zerob
()
RETURNS
TEXT
AS
$$
return
"abcd
\0
efg"
;
$$
LANGUAGE
plperl
u
;
$$
LANGUAGE
plperl
;
SELECT
perl_zerob
();
-- make sure functions marked as VOID without an explicit return work
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment