This is a discussion on Re: pg_config --pgxs on Win32 within the pgsql Hackers forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: 13 October 2005 20:41 > To: Dave Page > ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > -----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 ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| |||
| On 10/14/05, Dave Page <dpage@vale-housing.co.uk> wrote: > 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 > Can't prepend a drive name anyways with 'cd', what if you're on a different drive? =Win2kpro===================== E:\>cd "c:/Test" The system cannot find the path specified. E:\>c: C:\Test>cd "/Test" The syntax of the command is incorrect. C:\Test>cd / The syntax of the command is incorrect. C:\Test>cd "c:/" C:\Test>cd \ C:\>cd "/Test" The syntax of the command is incorrect. C:\>cd "Test/Test2" C:\Test\Test2> -- Christopher A. Watford christopher.watford@gmail.com ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings |
| ||||
| > On 10/14/05, Dave Page <dpage@vale-housing.co.uk> wrote: > > 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 > > > > Can't prepend a drive name anyways with 'cd', what if you're on a > different drive? > > =Win2kpro===================== > E:\>cd "c:/Test" > The system cannot find the path specified. Try "cd /D c:/Test" The /D option changes the current directory *and* the current drive in one command. -- Matt Emmerton ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |