repo.or.cz
/
pgsql.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Adjust some comments about structure properties in pg_stat.h
[pgsql.git]
/
src
/
pl
/
plperl
/
sql
/
plperl_lc.sql
blob
a4a06e722f87c4119634ff40a6efac5b3008823f
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();