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

From Tom Lane
Subject Re: What has happened to pgxs?
Date
Msg-id 3346.1127483825@sss.pgh.pa.us
Whole thread Raw
In response to Re: What has happened to pgxs?  (Thomas Hallgren <thhal@mailblocks.com>)
List pgsql-hackers
Thomas Hallgren <thhal@mailblocks.com> writes:
> 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

> Guess what happens if the install-location in itself contains the string 
> postgres?

That's the way it's supposed to work.  The point of this code is just
to not dump the install files directly into common directories like
/usr/local/include.  If "postgres" appears anywhere in the string then
it's obviously not a common directory.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: What has happened to pgxs?
Next
From: Tom Lane
Date:
Subject: Re: Releasing memory during External sorting?