Re: Extensions, patch v16

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extensions, patch v16
Date: 2010-12-11 21:30:54
Message-ID: 5DE8CFF0-9D47-4894-BF26-60EC13825E21@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 to upgrade extremely difficult. Learning from that, PGXN requires version numbers for all extensions.

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-12-11 21:35:24 Re: ALTER EXTENSION ... UPGRADE;
Previous Message Pavel Stehule 2010-12-11 21:26:13 Re: keeping a timestamp of the last stats reset (for a db, table and function)