In other words, is there a way to make an array column to work like a set, that is, when a duplicate value is added to it, it is simply ignored?
One possibility is to use triggers or to ensure uniqueness of elements when a SELECT is performed, but ideally I want the array to act more like a set.