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