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 по дате отправления: