Re: Executing SQL commands in script files - Mailing list pgsql-novice

From simran
Subject Re: Executing SQL commands in script files
Date
Msg-id 1045187385.9344.159.camel@pingu
Whole thread Raw
In response to Executing SQL commands in script files  ("Susan Hoddinott" <susan@perth.dialix.com.au>)
List pgsql-novice
You could pipe in the sql commands...

eg.

  % echo "select * from users" | psql userdb


On Thu, 2003-02-13 at 15:15, Susan Hoddinott wrote:
> Following reading through all the documentation it is not clear to me
> how to run a script file containing a number of SQL commands.
> Presumably I do this through the psql interface but how do I tell it
> to run a script?


pgsql-novice by date:

Previous
From: "Andres Ledesma"
Date:
Subject: Re: Executing SQL commands in script files
Next
From: Josh Berkus
Date:
Subject: Re: Executing SQL commands in script files