Re: Connect to a database in a .sql file

From: "Guy Rouillier" <guyr(at)masergy(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connect to a database in a .sql file
Date: 2005-11-08 19:22:34
Message-ID: CC1CF380F4D70844B01D45982E671B239E8C59@mtxexch01.add0.masergy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Alex Mayrhofer 2005-11-08 19:25:31 upgrading from backend version 811 to 812
Previous Message John D. Burger 2005-11-08 19:14:58 Re: Beyond the 1600 columns limit on windows