Postgres Find Character In String From Right