Re: Extensions, patch v16 - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Extensions, patch v16
Date
Msg-id 5DE8CFF0-9D47-4894-BF26-60EC13825E21@kineticode.com
Whole thread Raw
In response to Re: Extensions, patch v16  (David Fetter <david@fetter.org>)
Responses Re: Extensions, patch v16  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
On Dec 11, 2010, at 1:09 PM, David Fetter wrote:

>> Why is it in the makefile at all?  If the makefile does need to know it,
>> why don't we have it scrape the number out of the control file?  Or even
>> more to the point, since when do we need version numbers in extensions?
>
> We *absolutely* need version numbers in extensions.  People will want
> to have a certain version, or a certain minimum version, etc., etc.,
> etc., just as they do for any other software.
>
> Seriously, are you OK?

One of the biggest mistakes in the creation of CPAN was allowing modules without extensions. It makes figuring out what
toupgrade extremely difficult. Learning from that, PGXN requires version numbers for all extensions. 

Best,

David



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: keeping a timestamp of the last stats reset (for a db, table and function)
Next
From: "David E. Wheeler"
Date:
Subject: Re: ALTER EXTENSION ... UPGRADE;