Re: moving from contrib to bin - Mailing list pgsql-hackers

From Andres Freund
Subject Re: moving from contrib to bin
Date
Msg-id 20150311140046.GH12445@alap3.anarazel.de
Whole thread Raw
In response to Re: moving from contrib to bin  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: moving from contrib to bin
Re: moving from contrib to bin
Re: moving from contrib to bin
List pgsql-hackers
On 2015-03-10 22:06:37 -0300, Alvaro Herrera wrote:
> I don't think we care one bit whether these modules use pgxs, at least
> not currently.  If we find any issues later on, it should be an easy fix
> anyway.

I personally find it quite ugly to use pgxs for stuff in
src/bin. pgxs.mk says:
# This file contains generic rules to build many kinds of simple
# extension modules.  You only need to set a few variables and include
# this file, the rest will be done here.

I don't object at all to introducing more generic rules for src/bin, but
that seems like a separate task. And one that should be done right not
just use some convenient hack. And you can't tell me that
+NO_PGXS = 1
+include $(top_srcdir)/src/makefiles/pgxs.mk
isn't a hack...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: __attribute__ for non-gcc compilers
Next
From: Tom Lane
Date:
Subject: Re: moving from contrib to bin