Re: contrib vs. gborg/pgfoundry for replication solutions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Joe Conway <mail(at)joeconway(dot)com>, josh(at)agliodbs(dot)com, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Rod Taylor <pg(at)rbt(dot)ca>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Scott Marlowe <scott(dot)marlowe(at)ihs(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: contrib vs. gborg/pgfoundry for replication solutions
Date: 2004-04-23 04:09:47
Message-ID: 15912.1082693387@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> What if we create a build/ directory as part of install that
> pg_config.h, Makefile.global, etc, anything a plugin would need, and
> install it by default. Then, if we give folks an easy way to access
> them from their own apps and Makefiles, it would solve most of the
> problems.

No it wouldn't, because those files *do not work outside the build
tree*. There are built-in assumptions about where the Makefiles
themselves live relative to the include tree, where the invoking module
is relative to all that, etc. Certainly there are a couple of files we
need to install that we currently don't, but it's going to take some
actual work beyond that to fix the problem. See for example
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112244
and if you're interested try to fix it yourself; it didn't seem trivial
when I was poking at it.

The specific details aren't especially relevant to this thread, though.
What is relevant is that we agree to a commitment that we will make
it easy to build modules outside the current Postgres build environment,
and that we will have an ongoing commitment to make sure that that keeps
working.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2004-04-23 04:53:35 Re: License question
Previous Message Bruce Momjian 2004-04-23 04:09:45 What can we learn from MySQL?