summaryrefslogtreecommitdiff
path: root/pgsql/utf8proc.sql
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2014-07-15 15:29:52 -0400
committerSteven G. Johnson <stevenj@mit.edu>2014-07-15 15:29:52 -0400
commitab9520d18845248ef79ee98e8d671f8eecfec288 (patch)
tree92c5d4df269de5321b6eeb27206fded2316afb22 /pgsql/utf8proc.sql
downloadlibutf8proc-ab9520d18845248ef79ee98e8d671f8eecfec288.tar.gz
libutf8proc-ab9520d18845248ef79ee98e8d671f8eecfec288.tar.bz2
import of utf8proc-v1.1.6v1.1.6
Diffstat (limited to 'pgsql/utf8proc.sql')
-rw-r--r--pgsql/utf8proc.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/pgsql/utf8proc.sql b/pgsql/utf8proc.sql
new file mode 100644
index 0000000..605c646
--- /dev/null
+++ b/pgsql/utf8proc.sql
@@ -0,0 +1,6 @@
+CREATE OR REPLACE FUNCTION unifold (text) RETURNS text
+ LANGUAGE 'c' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
+ 'utf8proc_pgsql_unifold';
+CREATE OR REPLACE FUNCTION unistrip (text) RETURNS text
+ LANGUAGE 'c' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
+ 'utf8proc_pgsql_unistrip';