> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 13 October 2005 20:41
> To: Dave Page
> Cc: Martijn van Oosterhout; Thomas Hallgren;
> pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] pg_config --pgxs on Win32
>
> "Dave Page" <dpage@vale-housing.co.uk> writes:
> > When we first discussed this I posted a very simple example 'cd /'
> > which does absolutely nothing unlike 'cd \' or 'cd \\' which work as
> > expected, quite possibly for the reason you suggest.
> Although the / is
> > accepted, I don't believe it can be called reliable as it obviously
> > doesn't work in all situations.
>
> However, that's not the issue here. AFAIK, pg_config will
> only put out
> fully qualified paths, that is "C:/foo", so the risk that something
> starting with slash will be misinterpreted seems irrelevant to me.
>
> If it doesn't always prepend a drive letter, let's see about fixing
> that instead.
Won't help:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\dpage>mkdir c:\foo
C:\Documents and Settings\dpage>cd c:/foo
The system cannot find the path specified.
C:\Documents and Settings\dpage>cd /foo
The system cannot find the path specified.
C:\Documents and Settings\dpage>cd c:\foo
C:\foo>
Regards, Dave