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