Re: upgrade from 13 to 16 - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: upgrade from 13 to 16
Date
Msg-id f6da599d9e2736da00a149d36b5f65e934ad34ed.camel@cybertec.at
Whole thread Raw
In response to upgrade from 13 to 16  (listy <listy@localities.work>)
List pgsql-admin
On Mon, 2026-03-02 at 13:43 +0100, listy wrote:
> Is upgrade from ver. 13 to 16 possible?

Yes.

> -> $ sudo -u postgres pg_upgrade -D /var/lib/pgsql/data/
> You must identify the directory where the old cluster binaries reside.Please use the -b command-line option or the
PGBINOLDenvironment variable. 
> Failure, exiting
>
> Or is a restoration from a backup the only way?
>
> If you cannot be bothered to read the documentation for pg_upgrade, then
dump and restore may be the only way.

Yours,
Laurenz Albe



pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: upgrade from 13 to 16
Next
From: Laurenz Albe
Date:
Subject: Re: problem during postgres restore: max_connections = 100 is a lower setting than on the primary server, where its value was 350