Re: [PATCH] Remove useless USE_PGXS support in contrib - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [PATCH] Remove useless USE_PGXS support in contrib
Date
Msg-id CA+HiwqFYTRaLWvyemJ1vwCJUVXtbceMieLdqDsVUEo9NO6A=ng@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Remove useless USE_PGXS support in contrib  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Fri, Jun 14, 2013 at 9:35 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 6/13/13 9:20 PM, amul sul wrote:
>> Agree, only if we consider these contrib module is always gonna deployed with the postgresql.
>> But, what if user going to install such module elsewhere i.e. not from contrib directory of pg source.
>
> Why would anyone do that?

Is he probably saying "install such module *from* elsewhere"? Like
directly from the source directory of a module using something like
following:

cd /path/to/module-source
make USE_PGXS=1 PG_CONFIG=/path/to/pg_config
make USE_PGXS=1 PG_CONFIG=/path/to/pg_config install

When user does not work with pg source directly and does not have
postgresql-contrib installed?
Am I missing something here?

--
Amit Langote



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Remove useless USE_PGXS support in contrib
Next
From: Tom Lane
Date:
Subject: Re: Patch for fail-back without fresh backup