title: ERROR: operator does not exist: integer == integer
body: <p>I am using these statements in a postgres function.</p>
  
  <pre><code>Select count(*) into V_check
  from employee
  where employee_name like 'Raj%';
  
  if V_check == 0
  then
       update exception set exception_found = 'Raj';
  end if;
  </code></pre>
  
  <p>I get this error  :</p>
  
  <blockquote>
  <pre><code>ERROR:  operator does not exist: integer == integer
  LINE 1: SELECT V_check == 0
  </code></pre>
  </blockquote>