- #4456, add Rasbery Pi 32-bit jenkins bot for testing (Bruce Rindahl)
- #4454, Speed up _ST_OrderingEquals (Raúl Marín)
- #4453, Speed up ST_IsEmpty (Raúl Marín)
+ - #4271, postgis_extensions_upgrade() also updates after pg_upgrade (Raúl Marín)
PostGIS 3.0.0alpha3
2019/07/01
rec.name, rec.installed_version, rec.default_version;
RAISE DEBUG '%', sql;
EXECUTE sql;
- ELSIF rec.default_version = rec.installed_version AND
- rec.installed_version ILIKE '%dev'
+ ELSIF (rec.default_version = rec.installed_version AND rec.installed_version ILIKE '%dev') OR
+ (@extschema@._postgis_pgsql_version() != @extschema@._postgis_scripts_pgsql_version())
THEN
-- we need to upgrade to next and back
- RAISE NOTICE 'Updating dev extension % %',
+ RAISE NOTICE 'Updating extension % %',
rec.name, rec.installed_version;
sql = 'ALTER EXTENSION ' || rec.name || ' UPDATE TO ' ||
quote_ident(rec.default_version || 'next') || ';';