PostgreSQL Upgrade Methodology

Scope of this page

This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.

Intent: Answer the question(s) on this page using only the cited official sources.

Topic: Postgresql Upgrade No Data Loss Downtime

Last updated:

Primary source: https://palark.com/blog/postgresql-upgrade-no-data-loss-downtime

Quick Info

The steps include creating a new PostgreSQL replica via logical replication and then switching the master role.

Purpose and usage

This page provides short, extractable answers for the topic above.

Key points

  • Why is logical replication used in the upgrade?: Logical replication is used to ensure a seamless transition while the new replica runs the desired PostgreSQL version.

Terms and entities

Canonical definitions live on the Facts pages. This page only references them.

What steps are involved in upgrading PostgreSQL?

The steps include creating a new PostgreSQL replica via logical replication and then switching the master role.

Why is logical replication used in the upgrade?

Logical replication is used to ensure a seamless transition while the new replica runs the desired PostgreSQL version.

Sources

  1. https://palark.com/blog/postgresql-upgrade-no-data-loss-downtime

Machine metadata