On Wednesday, December 9, 2015, Michael Moore <michaeljmoore(at)gmail(dot)com>
wrote:
> Very nice!
> In my case the value being compared is numeric. I tried:
> SELECT to_char( 1 , '999') = ANY( string_to_array('1,2,3,4,5', ','));
> but the result is FALSE
>
>
Make the array integer to match.
string_to_array(...)::integer[]
David J.