← Back

Safer PostgreSQL upgrades

Improvement

Major PostgreSQL upgrades on your servers are now more reliable:

  • Extensions come with you. If you've installed extensions like pgvector or PostGIS, the upgrade installs the new version's packages for them. Afterwards, it updates the extensions in each database. If an extension has no package for the new version, the upgrade stops before changing anything, names the package, and your database keeps running.
  • Disk space is checked first. An upgrade copies your data, so it needs room for a second copy. Hatchbox now checks before it starts. If there isn't enough room, it tells you how much space you need, and the old version keeps running untouched.
  • Your configuration carries over. Upgrades now copy Hatchbox's PostgreSQL config and access rules to the new version. Before, some upgrades failed safely and others left the new version listening on localhost only.
  • Ubuntu 20.04 explains why it stops at 17. PostgreSQL 18 isn't packaged for 20.04, so the Upgrade button now says so and links to Upgrading Ubuntu server versions.
The Upgrade confirmation on an Ubuntu 20.04 server