Re: Quick Extensions Question - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Quick Extensions Question
Date
Msg-id 109C2F08-C5DD-4D89-A446-21A6D7E18698@kineticode.com
Whole thread Raw
In response to Re: Quick Extensions Question  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
On Mar 3, 2011, at 10:12 AM, Dimitri Fontaine wrote:

> "David E. Wheeler" <david@kineticode.com> writes:
>>  core_requires = 9.0, plpgsql, libxml
> 
> As soon as you get there you need an or operator to be able to say 9.0 |
> 9.1, or maybe some comparison operators to say >= 9.0.  Remember that
> about all extensions we have are source-compatible with many different
> releases of PostgreSQL.

We'd just start by saying a number means >=.

> So having the PostgreSQL server itself as an extension so that you can
> require it is 9.2 material at best in my opinion.

That sounds silly. It's clearly not an extension.

David




pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Quick Extensions Question
Next
From: Simon Riggs
Date:
Subject: Re: Sync Rep v19