2.1.2--2.2.0dev: ERROR: operator ~ already exists
|Reported by:||strk||Owned by:||strk|
|Keywords:||Cc:||Bborie Park, robe|
Due to my recent commit embedding version information in operators, the upgrade from 2.1 to 2.2 broke due to OPERATOR ~(raster,geometry) having a "Last Changed: 2.2.0" label on it.
The problem is that the operator really changed by dropping the COMMUTATOR specification (referring to #2532) but such change in an OPERATOR cannot currently be correctly injected in a pre-existing database, thus making it impossible to correctly upgrade from 2.1 without a dump-reload.
This ticket is to address the problem in some way. We have two options:
- Revert the change and postpone it to 3.0
- Find a way to provide upgrades for operator definitions