| From: | Dhaval Jaiswal <bablu_postgres(at)yahoo(dot)com> |
|---|---|
| To: | rod(at)iol(dot)ie, MDB <mdb002(at)yahoo(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Postgresql On Windows |
| Date: | 2009-03-28 00:46:20 |
| Message-ID: | 805521.88515.qm@web111214.mail.gq1.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
>> postgres=# \i C:/dj1.sql;
>> If there are space.
------------------
postgres=# \i 'C:/Program Files/PostgreSQL/8.3/bin/dj.sql';
Thanks & Regards
Dhaval Jaiswal
www.enterprisedb.com
________________________________
From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: MDB <mdb002(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Sent: Friday, March 27, 2009 8:05:47 PM
Subject: Re: [GENERAL] Postgresql On Windows
On 27/03/2009 14:28, MDB wrote:
> What is the path format for the i (\i) command in the SQL shell?
I think it's just as anywhere else on Windows, e.g.
\i c:\path\to\file.sql
If there are spaces in the path you may have to enclose it in double-quotes:
\i "c:\path with spaces\file.sql"
Ray.
------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2009-03-28 04:22:07 | Re: metadata development |
| Previous Message | Dhaval Jaiswal | 2009-03-28 00:37:07 | Re: Determining PUBLIC's permissions |