Re: ALTER EXTENSION UPGRADE, v3

David Wheeler <david@kineticode.com>

From: "David E. Wheeler" <david@kineticode.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-02-03T19:56:46Z
Lists: pgsql-hackers
On Feb 3, 2011, at 11:35 AM, Josh Berkus wrote:

> (D) Requires a series of ordered upgrade scripts in sortable version
> numbering, each of which gets applied in order between the two versions.
> This initially seems like the most attractive option -- and is the one
> used by dozens of popular open source web applications -- but has some
> major roadblocks for us.  First, it requires module authors to subscribe
> to a uniform sortable versions scheme (which isn't a bad thing, the
> users would certainly appreciate it, and PGXN is liable to enforce this
> anyway).

PGXN does enforce Semantic Versions (http://semver.org/), but extensions wont' be limited to PGXN, of course. Might be a lot of stuff developed for internal use in organizations, and they surely won't use the same version numbers.

Agreed with your summary, well put.

Best,

David