Re: Run scripts - Mailing list pgsql-general

From Ryan Mahoney
Subject Re: Run scripts
Date
Msg-id 5.0.2.1.0.20010830165120.04325030@paymentalliance.net
Whole thread Raw
In response to Run scripts  (christoph..lange@web.de (Christoph))
List pgsql-general
try:

/usr/local/pgsql/bin/psql dbname -e /path/to/script.sql

-r

At 05:43 AM 8/24/01 -0700, Christoph wrote:

>Working with oracle I used the command
>@/home/lange/textfile.sql
>to run scripts. Does anyone happen to know how this works with postgres?
>
>Thanks for any help in advance,
>Chris
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.251 / Virus Database: 124 - Release Date: 4/26/01

pgsql-general by date:

Previous
From: "Glen Parker"
Date:
Subject: Re: SELECT FOR UPDATE
Next
From: "tmb"
Date:
Subject: HELP WANTED: Open Source Consultant Programmer wanted for quick project