How to make a select with array contains value clause in psql
Note that this may also work:
SELECT * FROM table WHERE s=ANY(array)
Try
SELECT * FROM table WHERE arr @> ARRAY['s']::varchar[]
SELECT * FROM table WHERE arr && '{s}'::text[];
Compare two arrays for containment.