Re: Making changes to PostgreSQL's configure logic so as to have contrib modules installed in a specific directory and make them use PGXS?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: postgres user <postgresuser1989(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Making changes to PostgreSQL's configure logic so as to have contrib modules installed in a specific directory and make them use PGXS?
Date: 2017-02-01 03:19:40
Message-ID: 9908.1485919180@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

postgres user <postgresuser1989(at)gmail(dot)com> writes:
> I want to configure my PostgreSQL installation in such a manner such that
> the contrib modules of the PostgreSQL distribution are stored in a specific
> directory and they should use the PGXS extensions management system
> supported by Postgres, as they are currently packaged along with Postgres
> and follow a specific directory structure they are installed along with
> Postgres but I don't want that. I want all those contrib module extensions
> to use a separate pg_config and hence want their makefiles to use PGXS. How
> do I go about doing that.

What exactly are you trying to accomplish here? Why do you think it's a
good idea for your extensions to not use the base system's configuration?
It's very easy to construct examples in which such an extension build
would flat out not work with the base system, so your requirement really
has to be that the extension deviate in just limited ways from the base
--- but you've not said in just what ways you want it to deviate.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Johann Spies 2017-02-01 10:45:31 insert - on conflict question
Previous Message Melvin Davidson 2017-02-01 01:19:45 Re: Making changes to PostgreSQL's configure logic so as to have contrib modules installed in a specific directory and make them use PGXS?