utf8proc

diff README @ 1:61a89ecc2fb9

Version 0.2

- changed behaviour of PostgreSQL function to return NULL in case of invalid input, rather than raising an exceptional condition
- improved efficiency of PostgreSQL function (no transformation to C string is done)
- added -fpic compiler flag in Makefile
- fixed bug in the C code for the ruby library (usage of non-existent function)
author jbe
date Tue Jun 20 12:00:00 2006 +0200 (2006-06-20)
parents a0368662434c
children aaad485d5335
line diff
     1.1 --- a/README	Fri Jun 02 12:00:00 2006 +0200
     1.2 +++ b/README	Tue Jun 20 12:00:00 2006 +0200
     1.3 @@ -73,7 +73,11 @@
     1.4  function can be used to prepare index fields in order to be normalized and
     1.5  case-folded, i.e.:
     1.6  
     1.7 -CREATE TABLE people (id serial8 primary key, name text);
     1.8 +CREATE TABLE people (
     1.9 +  id    serial8 primary key,
    1.10 +  name  text,
    1.11 +  CHECK (unifold(name) NOTNULL)
    1.12 +);
    1.13  CREATE INDEX name_idx ON people (unifold(name));
    1.14  SELECT * FROM people WHERE unifold(name) = unifold('John Doe');
    1.15  

Impressum / About Us