Paolo Melchiorre 5/24/2026

Upgrade PostgreSQL from 17 to 18 on Ubuntu 26.04

Read Original

This article provides a detailed tutorial for upgrading PostgreSQL from version 17 to 18 on Ubuntu 26.04. It covers checking installed PostgreSQL versions using dpkg, listing clusters with pg_lsclusters, upgrading the cluster with pg_upgradecluster, verifying the new cluster, dropping the old cluster, and purging old packages. The guide is aimed at local development users who have two PostgreSQL versions after an Ubuntu upgrade.

Upgrade PostgreSQL from 17 to 18 on Ubuntu 26.04

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet