Re: error out when building pg_xlogdump with pgxs - Mailing list pgsql-hackers

From Cédric Villemain
Subject Re: error out when building pg_xlogdump with pgxs
Date
Msg-id 1567138.mGljfHUSvy@obelix
Whole thread Raw
In response to Re: error out when building pg_xlogdump with pgxs  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: error out when building pg_xlogdump with pgxs
List pgsql-hackers
Le mercredi 28 août 2013 00:12:22 Andres Freund a écrit :
> Hi Alvaro,
>
> On 2013-08-27 14:47:49 -0400, Alvaro Herrera wrote:
> > Andres Freund wrote:
> > > pg_xlogdump cannot properly be built with pgxs since it needs a
> > > sourcetree around. That already has confused some users...
> > >
> > > How about the attached patch which will tell it's not supported instead
> > > of an ominous build error about files that have no rules?
> >
> > Hmm, the other option is to ignore USE_PGXS completely and build
> > assuming the source tree is always present.  That way, if you build the
> > whole contrib subdir with USE_PGXS=1, you will end up with all modules
> > being built, not stop in the middle with an error.  This seems more
> > useful to me.  We could just add a comment that USE_PGXS is ignored.
>
> What's the point in doing USE_PGXS builds with a full and configured
> source present? The only thing I can think of is testing that pgxs
> builds are working. In that case it doesn't seem helpful to fake
> something into working which is then going to fail for real USE_PGXS
> builds (where the original sourcetree won't be at that location
> anymore).

I had the same idea when Peter wished to remove PGXS from the contrib shiped
with postgreSQL.

I've been convinced that if we want to apply testing on pgxs makefile then we
need something dedicated. Not abusing the current options.

I'm in favor of removing PGXS from all contrib makefile, not only this one.

--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Improving avg performance for numeric
Next
From: Andres Freund
Date:
Subject: Re: error out when building pg_xlogdump with pgxs