title: PostgreSQL error: syntax error at or near "exists"
body: <p>I have a very simple query:</p>
  
  <pre><code>DROP TYPE IF EXISTS abc;
  </code></pre>
  
  <p>When run on my local machine, all good. When run on my production machine, it returns:</p>
  
  <pre><code>ERROR:  syntax error at or near "EXISTS" at character 14
  </code></pre>
  
  <p>I have tried typing it manually rather than copying to make sure there is no hidden character somewhere, but I can not figure out how this can given an error at one place but not at another. </p>