Re: Executing SQL Script - Mailing list pgsql-general

From Sean Davis
Subject Re: Executing SQL Script
Date
Msg-id 4f8779a221ab6e13d2c69f1b55efdf41@mail.nih.gov
Whole thread Raw
In response to Executing SQL Script  (Jamie Deppeler <jamie@doitonce.net.au>)
List pgsql-general
On Jun 15, 2005, at 9:47 PM, Jamie Deppeler wrote:

> This is a simple question what is the best way to execute a SQL
> script, this script will create schemas and tables for a database i
> created.
>

Nearly all clients or interfaces provide a means to execute arbitrary
SQL.  You can do so in PgAdminIII, for example.  For an out-of-the-box
solution, you can use psql -f.  See documentation here:

http://www.postgresql.org/docs/8.0/static/app-psql.html

Sean


pgsql-general by date:

Previous
From: Sean Davis
Date:
Subject: Re: pg_dumpall
Next
From: "Craig Bryden"
Date:
Subject: Dynamic SQL