☰
Debian Codegraph
@
18.6-3
18.4-1
/
/
src
/
pl
/
plperl
/
sql
/
plperl_lc.sql
☽
☼
src/pl/plperl/sql/plperl_lc.sql
code
plain
raw
PostgreSQL
Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group; Portions Copyright (c) 1994, The Regents of the University of California
debian/copyright
1
--
2
-- Make sure strings are validated
3
-- Should fail for all encodings, as nul bytes are never permitted.
4
--
5
CREATE OR REPLACE FUNCTION perl_zerob() RETURNS TEXT AS $$
6
return "abcd\0efg";
7
$$ LANGUAGE plperl;
8
SELECT perl_zerob();