title: Postgres is stuck when creating a database?
body: <p>I just installed Postgres on Ubuntu 20 on WSL. Both of the following are stuck forever:</p>
  <pre><code>CREATE DATABASE foo
  WITH
  OWNER = postgres      
  ENCODING = 'UTF8'     
  CONNECTION LIMIT = -1;
  </code></pre>
  <p>And:</p>
  <pre><code>sudo -u postgres createdb foo
  </code></pre>
  <p>The log doesn't have anything:</p>
  <pre><code>postgres@postgres ERROR:  canceling statement due to user request
  postgres@postgres STATEMENT:  CREATE DATABASE foo
              WITH
              OWNER = postgres
              ENCODING = 'UTF8'
              CONNECTION LIMIT = -1;
  </code></pre>
  <p>What are some possible causes for this?</p>
  <p>Restarting Postgres or restarting the computer doesn't help and there's no locks. I also tried manually killing every lock.</p>