Running a file - Mailing list pgsql-admin

From Raju Mathur
Subject Running a file
Date
Msg-id 14918.1798.708770.614866@localhost.localdomain
Whole thread Raw
In response to Running a file  (Thomas SMETS <tsmets@altern.org>)
List pgsql-admin
Hi Thomas,

Is it possible you're looking for:

   psql -f script.sql <database>

?

Regards,

-- Raju

>>>>> "Thomas" == Thomas SMETS <tsmets@altern.org> writes:

    Thomas> I'm runnin postgres 7.?? (Last RPM package available from
    Thomas> the site).

    Thomas> I want to create a few DB creation scripts so I can
    Thomas> "publish" that afterwards.  On Oracle there's a such
    Thomas> possibility but I haven't seen anything comaprable in the
    Thomas> docs ...  I however think I'm missing one of the very
    Thomas> first possibility of "pgsql".  Could someone point me were
    Thomas> I could find some more infos on that matter ?

    Thomas> Tx,

    Thomas> Thomas,

    Thomas> p.s. : Merry Xmas for some / Enjoy Ead / Merry Solstice
    Thomas> for the others :-)
--
Raju Mathur          raju@kandalaya.org           http://kandalaya.org/

pgsql-admin by date:

Previous
From: "Anthony E . Greene"
Date:
Subject: Re: Running a file
Next
From: Stephan Szabo
Date:
Subject: Re: Is that a bug?