title: PostgreSQL psql terminal command
body: <p>I'm trying to get <code>psql</code> to format nicely and am following the docs <a href="http://www.postgresql.org/docs/9.0/static/app-psql.html">here</a>. Right now, whenever I do a query on tables with lots of columns, no matter how big I make my screen each line overflows into the next line and producing a whole screen of unreadable junk.</p>
  
  <p>The docs (link is above) say there's a way to align columns nicely for more readable output.</p>
  
  <p>Normally, to start <code>psql</code>, I just type:</p>
  
  <blockquote>
    <p>psql</p>
  </blockquote>
  
  <p>and hit <em>Enter</em>. Now I'm trying:</p>
  
  <blockquote>
    <p>psql \pset format aligned</p>
  </blockquote>
  
  <p>And getting an error:</p>
  
  <pre><code>could not change directory to "/root"
  psql: warning: extra command-line argument "aligned" ingored
  psql: FATAL: Indent authentication failed for user "format"
  </code></pre>
  
  <p>Any ideas as to how I could get these command-line args to work for me?</p>