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: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: postgres user <postgresuser1989(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <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 01:19:45
Message-ID: CANu8FiyJdmxR-BUkm9d9hMn7s2KGGzAOmggkvYcvoX+xvCoKrg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Probably your best best is to install normally, then move the contribs to a
directory of your choice
and make a symbolic link from the old directory. That way it should work
with both PostgreSQL
and PGXS.

On Tue, Jan 31, 2017 at 7:35 PM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

> On 01/31/2017 03:04 PM, postgres user wrote:
>
>> Hi,
>>
>> 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.
>>
>
> Not sure, though some more information would help:
>
> 1) Am I right in assuming you are building everything from source?
>
> 2) If not what is your install procedure?
>
> 3) When you say all the contrib modules do really mean all or all in some
> list?
>
> 4) Where is the directory you want them to be installed in located?
>
> 5) What OS are you using?
>
> 6) Have you looked at an OS packaging systems to do this?
>
>
>> Thanks
>>
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2017-02-01 03:19:40 Re: Making changes to PostgreSQL's configure logic so as to have contrib modules installed in a specific directory and make them use PGXS?
Previous Message Adrian Klaver 2017-02-01 00:35:15 Re: Making changes to PostgreSQL's configure logic so as to have contrib modules installed in a specific directory and make them use PGXS?