Re: Fix for file names with spaces

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fix for file names with spaces
Date: 2005-10-05 15:15:53
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC31CE@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)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.

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-10-05 15:31:07 Re: Fix for file names with spaces
Previous Message Tom Lane 2005-10-05 15:08:27 Re: Fix for file names with spaces