| From: | Tariq Muhammad <tmuhamma(at)libertyrms(dot)com> |
|---|---|
| To: | Chris <cschneider(at)xede(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Inquiry From Form [pgsql] |
| Date: | 2003-02-14 19:48:41 |
| Message-ID: | Pine.LNX.4.21.0302141447200.4496-100000@genesis.int.libertyrms.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)libertyrms(dot)info
_/ _/ _/_/_/ _/_/_/ v:416-646-3304 x 111
_/ _/ _/ _/ _/ _/ c:416-455-0272
_/_/_/ _/_/_/ _/ _/ p:416-381-1457
_________________________________________________
Liberty Registry Management Services Co.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Treat | 2003-02-14 19:51:53 | Re: What is the default timeout setting? |
| Previous Message | Bruce Momjian | 2003-02-14 19:35:01 | Re: for installation |