Re: Data directory with trailing [back]slash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Data directory with trailing [back]slash
Дата
Msg-id 7352.1087760003@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Data directory with trailing [back]slash  ("Magnus Hagander" <mha@sollentuna.net>)
Список pgsql-hackers-win32
"Magnus Hagander" <mha@sollentuna.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

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Data directory with trailing [back]slash
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Data directory with trailing [back]slash