How To Get Distinct Values Using String To Array In Postgres