Re: Run scripts

From: Ryan Mahoney <ryan(at)paymentalliance(dot)net>
To: christoph(dot)(dot)lange(at)web(dot)de (Christoph), pgsql-general(at)postgresql(dot)org
Subject: Re: Run scripts
Date: 2001-08-30 20:53:24
Message-ID: 5.0.2.1.0.20010830165120.04325030@paymentalliance.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)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

Attachment Content-Type Size
unknown_filename text/plain 166 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-30 21:00:26 Re: RFC: PostgreSQL and MySQL comparison.
Previous Message wsheldah 2001-08-30 20:49:22 Re: PostgreSQL what language