OK, but can pg use indexes on select with regexp ?we have decided recently to go ... to a deepest mySQL dependency. mySQL has a feature that doesn't exist in ANSI-SQL92 : full-text indexing.http://www.postgresql.org/idocs/index.php?functions-matching.html#FUNCTIONS-REGEXP No, but pg, as often in GNU programs, have regexp. ;)
I agree with you for the schema in a normal form.I think it is not the case to fight against one or other DBMS, simply wrote down a correct relational database schema in normal form, and put inside as standard as possible SQL instructions, for the rest using specialized instructions case()ing on the DBMS type.
-- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)