Search Postgresql Archives

Re: Connect to a database in a .sql file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Assad Jarrahian wrote:

I converted your HTML message to plain text for you.

> Where does the directory lie for psql (so I can put a .sql file in
> there and run it) for windows? thanks.

It's in the bin directory underneath wherever you install PostgreSQL.
But you don't need to put your .sql script there.  Either put the bin
directory in your path, or pass the full path to your .sql script to
psql.

-- 
Guy Rouillier

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux