Re: Fix for file names with spaces

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Fix for file names with spaces
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC31CE@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Fix for file names with spaces  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 05 October 2005 16:08
> To: Bruce Momjian
> Cc: PostgreSQL-patches; Dave Page
> Subject: Re: [PATCHES] Fix for file names with spaces
>
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Sorry, this is the same patch with the proper subject line.
>
> Why does this patch convert '\' to '\\' and not to '/' ?
> AFAICS that does nothing except to make the code more fragile.

Because support on Windows for / is somewhat inconsistent outside of the
Msys shell.

Eg.

C:\Documents and Settings\dpage>cd /

C:\Documents and Settings\dpage>cd \

C:\>

Regards, Dave.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Fix for file names with spaces
Следующее
От: Neil Conway
Дата:
Сообщение: Re: cleanup log_disconnections()