| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
| Cc: | "PgSql-Win32" <pgsql-hackers-win32(at)postgresql(dot)org> |
| Subject: | Re: Data directory with trailing [back]slash |
| Date: | 2004-06-20 19:33:23 |
| Message-ID: | 7352.1087760003@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 pgsql-patches |
"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...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2004-06-20 22:07:40 | Re: Data directory with trailing [back]slash |
| Previous Message | Magnus Hagander | 2004-06-20 18:53:28 | Data directory with trailing [back]slash |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-06-20 20:37:16 | Re: nested xacts and phantom Xids |
| Previous Message | Magnus Hagander | 2004-06-20 18:53:28 | Data directory with trailing [back]slash |