Re: batch file - Mailing list pgsql-sql

From Jason Earl
Subject Re: batch file
Date
Msg-id 20010525175334.29272.qmail@web10005.mail.yahoo.com
Whole thread Raw
In response to batch file  (Milen <milend@ansco.com>)
List pgsql-sql
I just put files commands that I want in some file
like "foo.sql" and then do:

psql mydatabase -f foo.sql

Is this what you are looking for?

Jason


--- Milen <milend@ansco.com> wrote:
> Hi all!,
> 
> I want to execute several SQL statements one after
> another.
> Does anyone know if it is possible to create
> something like a "batch file" 
> which contains all SQL commands I want.
> 
> Best Regards:
> Milen
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/


pgsql-sql by date:

Previous
From: Milen
Date:
Subject: batch file
Next
From: Jie Liang
Date:
Subject: Re: batch file