utf8proc

annotate pgsql/utf8proc.sql @ 11:d79da2302625

Changes for Ruby 1.9 compatibility

- Use RSTRING_PTR() and RSTRING_LEN() instead of RSTRING()->ptr and RSTRING()->len for ruby1.9 compatibility (and #define them, if not existent)
author jbe
date Thu Aug 20 12:00:00 2009 +0200 (2009-08-20)
parents fcfd8c836c64
children d0bab6ca89a5
rev   line source
jbe@0 1 CREATE OR REPLACE FUNCTION unifold (text) RETURNS text
jbe@0 2 LANGUAGE 'C' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
jbe@0 3 'utf8proc_pgsql_unifold';
jbe@7 4 CREATE OR REPLACE FUNCTION unistrip (text) RETURNS text
jbe@7 5 LANGUAGE 'C' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
jbe@7 6 'utf8proc_pgsql_unistrip';

Impressum / About Us