title: CREATE DATABASE cannot run inside a transaction block
body: <p>I am working on AWS server + PostgreSQL. When I execute a query for creating the database I get an error:</p>
  
  <pre><code>CREATE DATABASE cannot run inside a transaction block
  </code></pre>
  
  <p>I am working on Linux Ubuntu 12.04 LTS.</p>
  
  <p>How can I resolve this issue?</p>