title: Can not import database in postgresql
body: <p>Hi i am using postgresql .  i tried to import a databsee by </p>
  
  <pre><code>$ psql arbles &lt; app.arbles.com.15.08.2014.sql;
  ERROR:  syntax error at or near ""
  LINE 1:
          ^
  </code></pre>
  
  <p>it gives me an error ,</p>
  
  <ol>
  <li>I firstly created my database arbles</li>
  <li>then i gave one of my database user's full privilages of the database </li>
  </ol>
  
  <blockquote>
    <p>grant all privileges on database arbles to postgrestest;</p>
  </blockquote>
  
  <p>3.then i tried the first command and it failed  </p>
  
  <p>my <code>app.arbles.com.15.08.2014.sql</code> file is in <code>/var/lib/postgres</code> i also moved it to different locations , but the same error occures.</p>
  
  <pre><code>postgrestest
  </code></pre>
  
  <p>is also a super user </p>
  
  <p>i also thired with different solutions </p>
  
  <pre><code>   1. psql -h hostname -d databasename -U username -f file.sql
     2. \i C:/database/db-backup.sql
  </code></pre>
  
  <p>non of them worked , why is this happening  , please help me , thanks in advance</p>