From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | PgSql-Win32 <pgsql-hackers-win32(at)postgresql(dot)org>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Data directory with trailing [back]slash |
Date: | 2004-06-21 00:21:17 |
Message-ID: | 40D629FD.1020100@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Tom Lane wrote:
>"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>
>
>>It's not possible to start the postmaster on win32 with:
>>postmaster -D d:\pgdata\
>>or
>>postmaster -D d:/pgdata/
>>
>>
>
>Sounds like canonicalize_path() needs to be applied a bit sooner than
>it is.
>
>BTW I think canonicalize_path() is a few bricks shy of a load yet:
>I'm not sure it works well with Windows drive-letters, and it definitely
>will strip significant slashes when given input like '/' or 'C:\'.
>Feel free to fix those problems while at it...
>
>
Or use the attached patch, which I think does it right.
cheers
andrew
Attachment | Content-Type | Size |
---|---|---|
canon.patch | text/x-patch | 1.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Farai Mbira | 2004-06-21 03:48:16 | initdb error |
Previous Message | Andrew Dunstan | 2004-06-20 22:07:40 | Re: Data directory with trailing [back]slash |
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2004-06-21 00:35:15 | Re: [PATCHES] ALTER TABLE ... SET TABLESPACE |
Previous Message | Bruce Momjian | 2004-06-21 00:17:35 | Re: nested xacts and phantom Xids |