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

From Oleg Bartunov
Subject Re: Extensions, patch v16
Date
Msg-id Pine.LNX.4.64.1012121728140.12632@sn.sai.msu.ru
Whole thread Raw
In response to Re: Extensions, patch v16  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Extensions, patch v16  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Hi there,

it's clear we need versions, probably, major.minor would be enough. The problem
I see is how to keep .so in sync with .sql ? Should we store .sql in database ?

Also, we need permissions for extension, since we have open/closed 
extensions.


Oleg

On Sat, 11 Dec 2010, David E. Wheeler wrote:

> 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
whatto upgrade extremely difficult. Learning from that, PGXN requires version numbers for all extensions.
 
>
> Best,
>
> David
>
>
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: proposal : cross-column stats
Next
From: Heikki Linnakangas
Date:
Subject: Re: proposal : cross-column stats