Unix Technical Forum

Re: pg_config --pgxs on Win32

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 > ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 07:14 AM
Dave Page
 
Posts: n/a
Default Re: pg_config --pgxs on Win32



> -----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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 07:14 AM
Christopher A. Watford
 
Posts: n/a
Default Re: pg_config --pgxs on Win32

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 07:15 AM
Matt Emmerton
 
Posts: n/a
Default Re: pg_config --pgxs on Win32

> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com