Re: Fix for file names with spaces - Mailing list pgsql-patches

From Dave Page
Subject Re: Fix for file names with spaces
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC31CE@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Fix for file names with spaces  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix for file names with spaces
Next
From: Neil Conway
Date:
Subject: Re: cleanup log_disconnections()