Re: reading command from file - Mailing list pgsql-novice

From Jeffrey Melloy
Subject Re: reading command from file
Date
Msg-id 9E6DA7D1-28ED-11D7-B657-000A95765962@visualdistortion.org
Whole thread Raw
In response to reading command from file  ("Rosta Farzan" <rosta@acc.csuhayward.edu>)
List pgsql-novice
\i [filename].
The path is relative to the directory you launch psql from, oddly
enough.

HTH
Jeff
On Wednesday, January 15, 2003, at 03:50  PM, Rosta Farzan wrote:

> 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@acc.csuhayward.edu
> (510) 885-4026
> *************************************
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo@postgresql.org


pgsql-novice by date:

Previous
From: "Rosta Farzan"
Date:
Subject: reading command from file
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] gmake check error on HPUX