title: I always get an error when typing commands in psql but not if I copy past the command
body: <p>Every time I type a command in psql it throws an error, but if I copy and paste the exact same command it works. For example, I typed this:</p>
  
  <pre><code># GRANT ALL PRIVILEGES ON DATABASE db_name TO user;
  </code></pre>
  
  <p>and got:</p>
  
  <pre><code>ERROR:  syntax error at or near "GRANT"
  LINE 2: GRANT ALL PRIVILEGES ON DATABASE db_name TO user;
          ^
  </code></pre>
  
  <p>Then I did a copy/paste on a new line with:</p>
  
  <pre><code># GRANT ALL PRIVILEGES ON DATABASE db_name TO user;
  </code></pre>
  
  <p>and it worked:</p>
  
  <pre><code>GRANT
  </code></pre>
  
  <p>The above is copied exactly from terminal changing only the db_name and user.</p>
  
  <p>This happens every time I try to type in a command. Using 10.8.2 and PostgresApp from Heroku.</p>
  
  <p>Any ideas?</p>