title: Bitwise operators in Postgres
body: <p>I have a problem with using Bitwise operators in Postgres I get the following error message</p>
  
  <pre><code>ERROR:  argument of WHERE must be type boolean, not type integer
  </code></pre>
  
  <p>My query looks as below</p>
  
  <pre><code>SELECT DISTINCT number,name,contact,special FROM clients WHERE special &amp; 2048;
  </code></pre>
  
  <p>Any help will be appreciated</p>