Got it David, thanks!
On Wed, Dec 9, 2015 at 4:51 PM, David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> 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.
>
>
>