reading command from file

From: "Rosta Farzan" <rosta(at)acc(dot)csuhayward(dot)edu>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: reading command from file
Date: 2003-01-15 21:50:58
Message-ID: 50562.134.154.19.214.1042667458.squirrel@acc.csuhayward.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi everybody

I need help in how to read sql commands from file instead of typing in
postgres (psql) command line. I mean I have a file which includes for
example a create table command and I want to load it to postgres created
database. Would you please help me with this.
Thanks,
Rosta

************************************
Rosta Farzan
Laboratory for Adaptive Hypermedia and Assistive Technologies
Department of Math and Computer Science CSU Hayward
rosta(at)acc(dot)csuhayward(dot)edu
(510) 885-4026
*************************************

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Petre Scheie 2003-01-15 22:17:40 Re: [GENERAL] gmake check error on HPUX
Previous Message Neil Conway 2003-01-15 20:16:00 Re: gmake check error on HPUX