Re: Path separator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Path separator
Дата
Msg-id 15238.1237408388@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Path separator  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Path separator
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> I've seen a couple of reports that the new SSL error messages on windows
> look strange with paths the wrong way. For example:

> root certificate file "C:\Documents and Settings\<SNIP>\Application
> Data/postgresql/root.crt" does not exist.

> The issue being the mix of forward and backwards slashes. Attached patch
> should fix this.

> Is this worth doing? Comments?

In view of the way that canonicalize_path() works, I can't help thinking
this is going in precisely the wrong direction.

Also, don't we already have a macro someplace for the platform's
preferred path separator?
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: small but useful patches for text search
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Immediate shutdown and system(3)