Re: batch file - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: batch file
Date
Msg-id Pine.LNX.4.30.0105252010490.758-100000@peter.localdomain
Whole thread Raw
In response to batch file  (Milen <milend@ansco.com>)
Responses Re: batch file  (Grant <grant@conprojan.com.au>)
List pgsql-sql
Milen writes:

> 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.

psql [options] -f yourfile.sql

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-sql by date:

Previous
From: Jie Liang
Date:
Subject: Re: batch file
Next
From: "Richard Huxton"
Date:
Subject: Re: batch file