Re: What has happened to pgxs? - Mailing list pgsql-hackers

From Michael Paesold
Subject Re: What has happened to pgxs?
Date
Msg-id 012501c5c034$0b735f70$0f01a8c0@zaphod
Whole thread Raw
In response to Re: What has happened to pgxs?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: What has happened to pgxs?
List pgsql-hackers
Thomas Hallgren wrote:

> Sorry, that conclusion was wrong. What happens is:
> 1. I change the prefix in Makefile.global to say, 
> C:/Progra~1/PostgreSQL/8.1-beta2 (this is  the default for the installer).
> 2. I compile.
>
> That triggers the append of 'postgresql' on all directories since my 
> install location *does not* contain the word 'postgres' nor 'pgsql'.
...
> Thomas Hallgren wrote:
>> There's another issue with the Makefile.global.in that I feel should be 
>> addressed here. The file contains a lot of entries like:
>>
>> ifeq "$(findstring pgsql, $(pkgincludedir))" ""
>> ifeq "$(findstring postgres, $(pkgincludedir))" ""
>> override pkgincludedir := $(pkgincludedir)/postgresql
>> endif
>> endif

Bruce, others, could this comparision be made case-insensitive at least, so 
that it at least finds "PostgreSQL" and does not append postgresql in that 
case?

That would be the least invasive fix for the Windows case, I guess, where 
the default installation directory contains "PostgreSQL".

Best Regards,
Michael Paesold 



pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: stack depth limit exceeded problem.
Next
From: Tom Lane
Date:
Subject: Re: What has happened to pgxs?