postgres has an array data type, in this case a numeric array:
CREATE TABLE sal_emp (name text, pay_by_quarter integer[]); INSERT INTO sal_emp VALUES (\'one\
Trying not to plagiarise pstanton's answer, but clarifying a use case.
To have a condition that is satisfied by any of two (or more) columns having any of a list of values:
select * from mytable where array(col1, col2) && array('foo', 'bar', baz')