For the others (bostgresql, posdgresql, bosdgresql) i think u should write a function, that's what we did in our application.
contrib/pg_trgm solves it
-- Teodor Sigaev E-mail: [EMAIL PROTECTED] WWW: http://www.sigaev.ru/ ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq