title: Postgres ERROR: database “test” is being accessed by other users
body: <p>Getting the following error when trying to drop a PostgreSQL DB say "test" </p>
  
  <pre><code>postgres=# DROP DATABASE test;
  ERROR:  database "test" is being accessed by other users
  DETAIL:  There is 1 other session using the database.
  </code></pre>