Re: Connect to a database in a .sql file - Mailing list pgsql-general

From Guy Rouillier
Subject Re: Connect to a database in a .sql file
Date
Msg-id CC1CF380F4D70844B01D45982E671B239E8C59@mtxexch01.add0.masergy.com
Whole thread Raw
In response to Connect to a database in a .sql file  (Assad Jarrahian <jarraa@gmail.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: autovacuum,8.1, Win
Next
From: Sigurdur Gunnlaugsson
Date:
Subject: Re: Connect to a database in a .sql file