utf8proc
view 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)
- 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 | 
 line source
     1 CREATE OR REPLACE FUNCTION unifold (text) RETURNS text
     2   LANGUAGE 'C' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
     3   'utf8proc_pgsql_unifold';
     4 CREATE OR REPLACE FUNCTION unistrip (text) RETURNS text
     5   LANGUAGE 'C' IMMUTABLE STRICT AS '$libdir/utf8proc_pgsql.so',
     6   'utf8proc_pgsql_unistrip';
