postgres check array contains value code example Example: psql check if value in array SELECT value_variable = ANY(array)