Re: Quick Extensions Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, pgsql-hackers Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Quick Extensions Question
Date: 2011-03-03 19:09:39
Message-ID: 14823.1299179379@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)kineticode(dot)com> writes:
> On Mar 3, 2011, at 10:54 AM, Tom Lane wrote:
>> I basically agree with Robert that "requires = 9.1" is entirely useless.

> I'm saying that

> core_requires = 9.1.0, libxml, plpgsql

> Means >= 9.1.0.

That's not a design, that's just a very arbitrary kluge. And it doesn't
solve anything at all that we need to solve today, because you can
already assume that you're running on >= 9.1 just by the fact that
you're writing an extension. Having a solution for this in time for
9.2 will be plenty soon enough.

BTW, I don't see any good reason to distinguish "core" requires from
non-core. If anything, the spirit of an extension proposal should be
trying to reduce the distinction between "core" stuff and "not-core"
stuff, since part of the point of extensions is that features might
migrate across that boundary.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2011-03-03 19:14:54 Re: Quick Extensions Question
Previous Message David E. Wheeler 2011-03-03 18:57:21 Re: Quick Extensions Question