Re: pgxs: build infrastructure for extensions v4 - Mailing list pgsql-hackers

From Joe Conway
Subject Re: pgxs: build infrastructure for extensions v4
Date
Msg-id 411313C7.10102@joeconway.com
Whole thread Raw
In response to Re: pgxs: build infrastructure for extensions v4  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 
>>FYI, I couldn't find anything in the shell pg_config with this path:
>>        strncat(otherpath, "/pgxs/src/makefiles/pgxs.mk", MAXPGPATH-1);
>>Did you find a mention of this?  I looked in pg_config.sh and
>>Makefile.global.in.
> 
> 
> The original coding concatenated "src/makefiles/pgxs.mk" to a path value
> derived elsewhere (pgxsdir).  I was planning to bug Peter about just how
> correct this patch is --- it's essentially hardwiring an assumption
> about the construction of pgxsdir.
> 

I just added "src/makefiles/pgxs.mk" to the already hardwired path to 
pgxs in pg_config.c. But in any case, it looks like pgxsdir is set in 
src/Makefile.global.in like like this:  pgxsdir = $(pkglibdir)/pgxs
So it is sort of hardwired already at the moment at least.

Joe



pgsql-hackers by date:

Previous
From: fastpgs
Date:
Subject: Proposal for Disable Triggers
Next
From: "Jonathan M. Gardner"
Date:
Subject: PostgreSQL as an application server