From: Peter Eisentraut <peter_e@gmx.net>
To: Milen <milend@ansco.com>
Cc: 'pgsql-sql@postgresql.org.' <pgsql-sql@postgresql.org>
Subject: Re: batch file
Date: Fri, 25 May 2001 20:11:27 +0200 (CEST)
Message-ID: <Pine.LNX.4.30.0105252010490.758-100000@peter.localdomain> (raw)
In-Reply-To: <01C0E51F.F2E673F0.milend@ansco.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, milend@ansco.com
Subject: Re: batch file
In-Reply-To: <Pine.LNX.4.30.0105252010490.758-100000@peter.localdomain>
References: <01C0E51F.F2E673F0.milend@ansco.com> <Pine.LNX.4.30.0105252010490.758-100000@peter.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox