Re: Executing sql script - Mailing list pgsql-novice

From Frank Bax
Subject Re: Executing sql script
Date
Msg-id 5.2.1.1.0.20040603154437.03236010@pop6.sympatico.ca
Whole thread Raw
In response to Executing sql script  ("Loftis, Charles E" <charles.loftis@eds.com>)
List pgsql-novice
At 03:23 PM 6/3/04, Loftis, Charles E wrote:
>I want to execute the sql stored in a directory on my system.
>How do I submit this file, in batch, to pgsql to be executed?


If your file is script.sql, then:
         psql < script.sql



pgsql-novice by date:

Previous
From: "Joe Erickson"
Date:
Subject: Re: Executing sql script
Next
From: Bryan Irvine
Date:
Subject: Re: INSERT or COPY: Which one?