Re: pg_upgrade 13.6 to 15.1?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: pf(at)pfortin(dot)com, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_upgrade 13.6 to 15.1?
Date: 2023-01-15 20:23:10
Message-ID: 9a8899f2-211f-ae2a-1071-c1567d7ae988@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/15/23 11:27, pf(at)pfortin(dot)com wrote:
> Hi,
>
> I'm fairly new to postgres; but have databases with about 2TB of data.
>
> Trying to upgrade from 13.6 to 15.1, pg_upgrade complains with:
> [postgres(at)pf ~]$ /usr/bin/pg_upgrade -b /usr/local/pgsql/bin -B /usr/bin \
> -d /mnt/db/var/lib/pgsql/data -D /mnt/work/var/lib/pgsql/data \
> -s /tmp -U postgres

> Nothing I read implies the need to upgrade to 14.x first... Right?

In addition to Tom Lane's comments I would recommend reading this:

https://www.postgresql.org/docs/current/pgupgrade.html

multiple times. There is a lot going on there and it will take a couple
of reads at least to begin to understand it all.

>
> Thanks
> Pierre
>
>
>

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pf 2023-01-15 20:39:19 Re: pg_upgrade 13.6 to 15.1?
Previous Message Tom Lane 2023-01-15 19:47:35 Re: pg_upgrade 13.6 to 15.1?