Unix Technical Forum

Re: Making pgxs builds work with a relocated installation

This is a discussion on Re: Making pgxs builds work with a relocated installation within the Pgsql Patches forums, part of the PostgreSQL category; --> -----Original Message----- From: "Tom Lane"<tgl@sss.pgh.pa.us> Sent: 01/10/05 16:28:18 To: "Bruce Momjian"<pgman@candle.pha.pa.us> Cc: "Dave Page"<dpage@vale-housing.co.uk>, "Peter Eisentraut"<peter_e@gmx.net>, "PostgreSQL-patches"<pgsql-patches@postgresql.org> Subject: Re: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:56 AM
Dave Page
 
Posts: n/a
Default Re: Making pgxs builds work with a relocated installation


-----Original Message-----
From: "Tom Lane"<tgl@sss.pgh.pa.us>
Sent: 01/10/05 16:28:18
To: "Bruce Momjian"<pgman@candle.pha.pa.us>
Cc: "Dave Page"<dpage@vale-housing.co.uk>, "Peter Eisentraut"<peter_e@gmx.net>, "PostgreSQL-patches"<pgsql-patches@postgresql.org>
Subject: Re: Making pgxs builds work with a relocated installation

> I haven't tried this to see if it'd work or not ...
> any comments? Would single or double quotes be most desirable?


Unfortunately quoting either way didn't work on Windows/msys when Thomas & I were looking at this.

/D

-----Unmodified Original Message-----
[ correcting the completely offtopic Subject ]

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Your patch has been added to the PostgreSQL unapplied patches list at:
> http://momjian.postgresql.org/cgi-bin/pgpatches
> It will be applied as soon as one of the PostgreSQL committers reviews
> and approves it.


Before going down that path, I wanted to review the makefiles and see
whether quoting all occurrences of the path variables would be a
workable thing or not. That would be more desirable, if it's not a
maintenance nightmare, because it'd solve the problem everywhere instead
of only for Windows --- and there is a real risk on, say, Darwin.

One idea that comes to mind is to just quote the variables at point of
creation --- that is, write something like

override pkglibdir := "$(pkglibdir)"

in Makefile.global. I haven't tried this to see if it'd work or not ...
any comments? Would single or double quotes be most desirable?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-18-2008, 12:56 AM
Tom Lane
 
Posts: n/a
Default Re: Making pgxs builds work with a relocated installation

"Dave Page" <dpage@vale-housing.co.uk> writes:
> Unfortunately quoting either way didn't work on Windows/msys when
> Thomas & I were looking at this.


Yech. So we need the GetShortName hack on Windows even if we quote
for other platforms?

regards, tom lane

---------------------------(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
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 07:19 PM.


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