Re: pg_config --pgxs on Win32

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Thomas Hallgren" <thhal(at)mailblocks(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_config --pgxs on Win32
Date: 2005-10-14 07:19:12
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC3448@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: 13 October 2005 20:41
> To: Dave Page
> Cc: Martijn van Oosterhout; Thomas Hallgren;
> pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] pg_config --pgxs on Win32
>
> "Dave Page" <dpage(at)vale-housing(dot)co(dot)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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2005-10-14 07:30:44 Link problems with HEAD
Previous Message Michael Paesold 2005-10-14 06:25:12 Re: [PATCHES] [BUGS] BUG #1962: ECPG and VARCHAR