POSTGRESQL CASE-INSENSITIVE PATTERN MATCHING