Re: pg_upgradecluster version 10 to 16 question

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Jim Cunning <jlcunning46(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgradecluster version 10 to 16 question
Date: 2025-06-11 20:10:53
Message-ID: 12d5ab38-b180-4b4b-8c69-a314dd4a8a31@aklaver.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/11/25 12:53, Bruce Momjian wrote:
> On Wed, Jun 11, 2025 at 11:59:24AM -0700, Jim Cunning wrote:
>> I configured the PGDG repository and tried to install postgresql-10 on my
>> kubuntu 24.04 LTS desktop system, but apt refused to install it because of
>> unsatisfied dependencies.  I then installed kubuntu 22.04 LTS on a backup
>> system and was able to install postgresql-10 there.  I was able to use pg_dump
>> to recover all the data and move it to the replacement server running ubuntu
>> 24.04 LTS with postgresql-16.  All should be good.  Thanks for the help.
>
> Uh, newer vesions of pg_dump should be able to dump from a PG 10
> cluster.
>

The issue is the OP just had the $DATADIR and no Postgres 10 binaries to
run an instance.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2025-06-11 20:11:07 Re: pg_upgradecluster version 10 to 16 question
Previous Message David G. Johnston 2025-06-11 20:07:11 Re: pg_upgradecluster version 10 to 16 question