On Tue, 5 Nov 2002, Florian Litot wrote:

> what is the command to launch a sql script not in psql
> thanks

without actually being IN psql, you can use it to run one line scripts 
like this:

psql dbname -c -- 'single query goes here'

or you can run a large file full of sql queries like this:

psql dbname -f filename.sql


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to