Re: How do i get the location or -D paramter to accept a windows path using cygwin postgresql

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: How do i get the location or -D paramter to accept a windows path using cygwin postgresql
Date: 2003-08-28 05:48:13
Message-ID: 605BFF5A.7ECC7273.00013D13@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Chris,

[...]
>I am trying to create a new database at the location E:\PGdbs on a
>system running cygwin postgresql.
[...]
>
>Is there a workaround of some kind?
>
[...]

Yes, e.g. by replacing "E:\PGdbs" with `cygpath -u "E:\\PGdbs"` (note the double backslash) or with `cygpath -u E:/PGdbs`. In both cases the $() shell notation could be used instead of `` (`cygpath -u "E:\\PGdbs"` becomes $(cygpath -u "E:\\PGdbs") ).
As a note, reading at least "Cygwin User's Guide" ( http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html ) could also help many users of cygwin enabled applications.

SLao

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge. Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2003-08-28 12:03:51 Re: running postgresql7.3.4 under windows
Previous Message Claudio Natoli 2003-08-28 04:06:17 Re: 7.3.4 upgrade