Postgres Check If Value Is String