Re: [PATCH] Remove useless USE_PGXS support in contrib

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: amul sul <sul_amul(at)yahoo(dot)co(dot)in>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Remove useless USE_PGXS support in contrib
Date: 2013-06-14 13:02:00
Message-ID: CA+HiwqFYTRaLWvyemJ1vwCJUVXtbceMieLdqDsVUEo9NO6A=ng@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 14, 2013 at 9:35 PM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-06-14 13:08:15 Re: Patch for fail-back without fresh backup
Previous Message Peter Eisentraut 2013-06-14 12:35:55 Re: [PATCH] Remove useless USE_PGXS support in contrib