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.kla...@aklaver.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.kla...@aklaver.com > > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.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.