Maybe try combining them into a single array then performing array comparisons...
On Wednesday, March 22, 2017, Glen Huang <
hey.hgl@gmail.com> wrote:
Thanks.
Didn't realize it could be implemented with a exclusion constraint. The comparing between any two row definitely sounds like the right direction. But I'm still having a hard time figuring out how i should write the `exclude_element WITH
operator` part, which I think, should detect if specified columns consist of the same items, regardless the order? could `exclude_element` contains multiple columns? (from the syntax it looks like it's impossible) And is there such an operator to compare multiple columns?