Received: from island.6tems.com ([195.77.213.6]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2RGM8w26921 for ; Tue, 27 Mar 2001 11:22:09 -0500 (EST) (envelope-from teixi@6tems.com) Received: from thinkpad (studio.6tems.com [213.96.34.17]) (authenticated (0 bits)) by island.6tems.com (8.11.1/8.11.1/Islandmail 8.11.0-6) with ESMTP id f2RGI0U17657 for ; Tue, 27 Mar 2001 18:18:01 +0200 X-Authentication-Warning: island.6tems.com: Host studio.6tems.com [213.96.34.17] claimed to be thinkpad Date: Tue, 27 Mar 2001 18:24:14 +0200 From: Jaume Teixi To: pgsql-admin@postgresql.org Subject: search on accents over all possible matches Message-Id: <20010327182414.4fa5c583.teixi@6tems.com> X-Mailer: Sylpheed version 0.4.62 (GTK+ 1.2.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/195 X-Sequence-Number: 1042 Hello, I'm developing a search tool with php against a posgresql database. As the database is in catalan an in spanish is obvious that a simple search like: (SELECT * FROM painters WHERE artist_name ~* 'Dali'); should perform over Dd Aa Ll Ii (and will not found Dalí). but on an accent based language also should perform over ÍíÌìÏï question is: this c function from Patrice Hédé is the most appropiate tool for searching on an accent based language ? http://www.postgresql.org/mhonarc/pgsql-sql/1998-06/msg00119.html or should I use an implemented function inside postgres right now ? bests from barcelona, jaume teixi.