Re: Executing sql script - Mailing list pgsql-novice

From Bryan Irvine
Subject Re: Executing sql script
Date
Msg-id 1086291892.12812.1.camel@elvis2.horvitznewspapers.net
Whole thread Raw
In response to Executing sql script  ("Loftis, Charles E" <charles.loftis@eds.com>)
List pgsql-novice
cat foo | psql bar

or

pgsql>\i /somedir/foo


--Bryan

On Thu, 2004-06-03 at 12:23, 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?
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


pgsql-novice by date:

Previous
From: "Joe Erickson"
Date:
Subject: Re: Executing sql script
Next
From: "Joe Erickson"
Date:
Subject: Re: Executing sql script