Re: add build utilities in default install

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: add build utilities in default install
Date: 2004-05-19 07:53:10
Message-ID: Pine.LNX.4.58.0405190850300.7637@sablons.cri.ensmp.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Dear Tom,

> > Please find attached my first submission for installing all necessary
> > build files (makefile, scripts...) by default.
>
> Why? They won't do anyone any good outside the original build tree.

Is your question rhetorical?

So as to allow postgresql extensions (types, functions) to be compiled "as
if" they would have been compiled in the source tree, as "contrib"s.

> Even if modified so that they are useful (which is something that is
> on my to-do list),

I agree that it is not simple to make them usable "as is".

I'm trying to have a minimum effort solution, but I would be interested in
having a better one, esp. if I don't have to do it myself.

> I disagree with installing them by default. See previous arguments about
> installing backend internal headers by default.

http://archives.postgresql.org: "Can not connect to search daemon"
well, my look at previous "archived" arguments will wait.

Anyway, you both forbid extensions to be added within the main
distribution, and to provide help for these extensions to be added from
the outside.

So instead of saying "no", please help us solve the problem: how to make
extensions easilly installable against a postgresql, preferably with
minimum effort from the user who would like to try that?

Under apache, I just do : "apxs -c -i -a mod_foo.c" and it is enough.

If your solution is that extensions should require the sysadmin to fetch
postgresql sources and reconfigure... I disagree. If you have something
better, I'm all ears.

--
Fabien COELHO _ http://www.cri.ensmp.fr/~coelho _ Fabien(dot)Coelho(at)ensmp(dot)fr
CRI-ENSMP, 35, rue Saint-Honoré, 77305 Fontainebleau cedex, France
phone: (+33|0) 1 64 69 {voice: 48 52, fax: 47 09, standard: 47 08}
________ All opinions expressed here are mine _________

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Fabien COELHO 2004-05-19 08:14:26 Re: new aggregate functions v3
Previous Message Nikola Milutinovic 2004-05-19 06:42:23 Re: PgSQL 7.4.2 - NaN on Tru64 UNIX - CORRECTION!!!