On Tue, Mar 27, 2001 at 09:42:39PM +0000, markus jais wrote:
> hi,
> maybe this is somewhere in the docs but I couldn't find
> it.
> I am a beginner to postgresql and do not know much till now.
> I have bought a book on SQL and now I want to
> import the sample databases into postgresql
> they are provided as *.sql.

You can do "psql -f yourfile.sql" from the shell, or, from within
psql, type "\i yourfile.sql".

Zach
-- 
[EMAIL PROTECTED]     Zachary Beane     http://www.xach.com/

---------------------------(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