How to determine if a string is alphanumeric in PostgreSQL?