Re: ALTER EXTENSION UPGRADE, v3

David Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dimitri Fontaine <dimitri@2ndQuadrant.fr>, Robert Haas <robertmhaas@gmail.com>, Josh Berkus <josh@agliodbs.com>, pgsql-hackers@postgresql.org
Date: 2011-02-11T18:09:08Z
Lists: pgsql-hackers
On Feb 11, 2011, at 10:06 AM, Tom Lane wrote:

> Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
>> Tom Lane <tgl@sss.pgh.pa.us> writes:
>>> Hmm.  To make that work, we'd have to have ALTER EXTENSION UPDATE use a
>>> different default version name from what CREATE EXTENSION uses (unless
> 
>> Yes.  I see that as a good feature to have.  stable and support looks
>> like good default aliases for me, but again, IANANS (native speaker).
> 
> I'm not very happy with that at all, either as to the concept or the
> specific version-alias names.  I don't think that CREATE and ALTER
> really need different default version targets.  And those choices of
> names carry far too much baggage.  "Default" is what they are as far as
> the system is concerned, but names like those imply a lot more.
> 
> Anybody else have an opinion on this detail?

I think they should be the same. Anything else seems confusing and weird.

Best,

David