You can turn it into a postgres array formatted string within the GUI interface using curly braces, something like:
{{'{'+selector.value.toString()+'}'}}
so it turns
[1,2,3]
into
"{1,2,3}"
to make it play nicely (and don't forget the quotes enclosing the curly brackets)