title: ERROR: op ANY/ALL (array) requires array on right side
body: <p>We are calling the  proc  <code>public.update_records (p_record_id integer, p_notification_list text)</code> 
  and assigning the p_notification_list value as </p>
  
  <pre><code>ct.new_notification_id::text = ANY(string_to_array(p_notification_list,',')) 
  </code></pre>
  
  <p>and the value of the p_notification_list passed is <code>'&lt;notification_id_1&gt;','&lt;notification_id_2&gt;'</code>  and so on</p>
  
  <p>and getting the error as <strong>op ANY/ALL (array) requires array on right side</strong></p>
  
  <p>Please suggest </p>