title: Specifying the default database for psql to connect to?
body: <p>While using psql, I want to change the initial database connection.</p>
  
  <p>I had a database named "test" as the initial connection.</p>
  
  <p>When running <code>psql</code> from the command line my prompt would be <code>test=#</code></p>
  
  <p>After deleting the "test" database, and running <code>psql</code> in command line, I get the following error:</p>
  
  <pre><code>psql: FATAL:  database "test" does not exist
  </code></pre>
  
  <p>I understand what this means, but how do I go about setting the "postgres" database as the default?</p>
  
  <p>Instead of typing <code>psql postgres</code> each time.</p>