title: Unable to restore sql file in postgresql on windows
body: <p>I'm trying to import sql file in postgresql but unable to do. I  tried pgAdmin 4 to restore sql file. I get the error (pg_restore: [archiver] input file does not appear to be a valid archive).</p>
  
  <p>I've also tried to do this with the command prompt but unable to do.</p>
  
  <p>If I do</p>
  
  <pre><code>D:\Program Files (x86)\PostgreSQL\9.1\bin&gt;psql -h 127.0.0.1 -U postgres gorkha &lt; D:/gorkha.sql
  </code></pre>
  
  <p>It returns</p>
  
  <pre><code>SET
  SET
  SET
  SET
  SET
  CREATE EXTENSION
  COMMENT
  REVOKE
  REVOKE
  GRANT
  GRANT
  </code></pre>