Press "Enter" to skip to content

Upgrading PostgreSQL on Debian Linux

Dualcore DBA uses pg_upgradecluster:

In my previous post, we upgraded a PostgreSQL 15 cluster to version 18 using pg_upgrade. In this post, we’ll contrast that with using pg_upgradecluster.

As before, the upgrade process is:

  • Install new version of PostgreSQL
  • Upgrade the existing cluster to the new version
  • Remove the old cluster

Note that we have one less step than the pg_upgrade version, that step being creating the new cluster.

Read on for some attempts and some pain points in the process.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.