Re: Frustrating issue with PGXS - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Frustrating issue with PGXS
Date
Msg-id Pine.LNX.4.64.0706271256320.8639@briare.cri.ensmp.fr
Whole thread Raw
In response to Re: Frustrating issue with PGXS  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Frustrating issue with PGXS
List pgsql-hackers
Dear Peter,

> What was the problem with just making all uses of pg_config in 
> Makefile.global use a hardcoded bindir directly?

Because bindir is given by pg_config:-)

ISTM that the underlying issue, which was not foreseen in the initial pgxs 
and fixed later, is that some distributions use a different installation 
prefix at compile time and once the software is actually installed. You 
would end up with a /tmp/build/.. path which does not exist. If the 
installations are movable, you can only rely on pg_config.

-- 
Fabien.


pgsql-hackers by date:

Previous
From: "Manera, Villiam"
Date:
Subject: R: [postgresql-it] no cascade triggers?
Next
From: Michael Enke
Date:
Subject: self defined data type "with limit"?