Re: Inquiry From Form [pgsql] - Mailing list pgsql-general

From Tariq Muhammad
Subject Re: Inquiry From Form [pgsql]
Date
Msg-id Pine.LNX.4.21.0302141447200.4496-100000@genesis.int.libertyrms.com
Whole thread Raw
In response to Inquiry From Form [pgsql]  (Chris <cschneider@xede.com>)
List pgsql-general

On Fri, 7 Feb 2003, Chris wrote:

> how can I run a SQL script from a text file from within PSQL.
>
> Like in Oracle from SQLPlus I would use the @scriptname.sql  from the SQL prompt.  What is the syntax from PSQL?
>

\i script_name.sql



     _/_/     _/_/    _/_/  Tariq Muhammad
    _/  _/  _/   _/ _/  _/  tariq@libertyrms.info
   _/   _/ _/_/_/  _/_/_/   v:416-646-3304 x 111
  _/   _/ _/   _/ _/  _/    c:416-455-0272
 _/_/_/  _/_/_/  _/  _/     p:416-381-1457
_________________________________________________
     Liberty Registry Management Services Co.



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: for installation
Next
From: Robert Treat
Date:
Subject: Re: [ADMIN] What is the default timeout setting?