Re: ALTER EXTENSION UPGRADE, v3 - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: ALTER EXTENSION UPGRADE, v3
Date
Msg-id m2r5be5n55.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: ALTER EXTENSION UPGRADE, v3  (Aidan Van Dyk <aidan@highrise.ca>)
List pgsql-hackers
Aidan Van Dyk <aidan@highrise.ca> writes:
> So, I like that the attempt is to support multiple versions.  But
> unless you can manage the files (both shared libraries, and any
> scripts to create/update SQL objects) for different version
> independently, I can't see the "multiple versions at once" capabilites
> that are being discussed being actually being used by anything more
> than the most basic extensions...

No, you're missing the use case here I think.  It's all about releasing
minor upgrades (of extensions) and allowing users to jump through more
than one of them at a time.  Like upgrading from 1.1.0 to 1.3.5.

> Just like if I need a bugfix of PostgreSQL 8.4, I'm not forced to
> *install* 9.0, because PG has decide that the proper way to release
> ist o make a single release of all versions.

If you have extension which needs multiple major version releases, then
yes, as PostgreSQL packages, you need to put the extension major version
number into its name.  I don't see that as a problem of the mechanisms
proposed here.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: ALTER EXTENSION UPGRADE, v3
Next
From: Stephen Frost
Date:
Subject: Re: Debian readline/libedit breakage