Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-05 Thread Dimitri Fontaine
David Fetter writes: > The syntax by itself does nothing, but the underlying capability gives > users: Ok, now I understand that the syntax you proposed was a shortcut for an I-want-it-all request :) > - The ability to have versions of software on different databases on > the same system. > >

Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-05 Thread David Fetter
On Wed, Jan 05, 2011 at 10:19:23AM +0100, Dimitri Fontaine wrote: > David Fetter writes: > > One could imagine that an extension was updated more quickly than > > PostgreSQL major versions come out, or at least not at the exact same > > time. > > Sure, but I don't see what your proposed syntax is

Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-05 Thread Dimitri Fontaine
David Fetter writes: > One could imagine that an extension was updated more quickly than > PostgreSQL major versions come out, or at least not at the exact same > time. Sure, but I don't see what your proposed syntax is giving us here. Currently the new version you're upgraded to is the one insta

Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-04 Thread David Fetter
On Tue, Jan 04, 2011 at 08:31:19PM +0100, Dimitri Fontaine wrote: > David Fetter writes: > > Do you plan to have > > > > ALTER EXTENSION ... UPGRADE TO VERSION ... > > > > , or the more general, > > > > ALTER EXTENSION ... ALTER VERSION TO ... ? > > Well why not, but I'm not sure I understand wha

Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-04 Thread Dimitri Fontaine
David Fetter writes: > Do you plan to have > > ALTER EXTENSION ... UPGRADE TO VERSION ... > > , or the more general, > > ALTER EXTENSION ... ALTER VERSION TO ... ? Well why not, but I'm not sure I understand what you have in mind here. I don't exactly see how to install more than one version on t

Re: [HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-04 Thread David Fetter
On Tue, Jan 04, 2011 at 12:31:55PM +0100, Dimitri Fontaine wrote: > Hi, > > Please find attached the patch to support ALTER EXTENSION UPGRADE, Do you plan to have ALTER EXTENSION ... UPGRADE TO VERSION ... , or the more general, ALTER EXTENSION ... ALTER VERSION TO ... ? I get that this might

[HACKERS] ALTER EXTENSION UPGRADE patch v1

2011-01-04 Thread Dimitri Fontaine
Hi, Please find attached the patch to support ALTER EXTENSION UPGRADE, following exchanges made on this list — we can't really speak about decisions here, apparently, until commit is done :) The documentation is available online for easy browsing here: http://pgsql.tapoueh.org/extensions/doc/h