summaryrefslogtreecommitdiff
path: root/pgsql/utf8proc.sql
diff options
context:
space:
mode:
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';