Re: Safest pgupgrade jump distance

2024-02-12 Thread Greg Sabino Mullane
On Mon, Feb 12, 2024 at 5:08 AM Dávid Suchan wrote: > Hi, I was wondering what is the safest pg_upgrade version upgrade distance > going from 9.6 version. Do I need to go version by version or I can go from > 9.6 to 15? You can go direct. You really should go to 16 though. If nothing else, you

Re: Safest pgupgrade jump distance

2024-02-12 Thread Tom Lane
Karsten Hilbert writes: > Am Mon, Feb 12, 2024 at 09:31:50AM -0500 schrieb Ron Johnson: >> https://www.postgresql.org/docs/16/pgupgrade.html >> "pg_upgrade supports upgrades from 9.2.X and later to the current major >> release of PostgreSQL, including snapshot and beta releases." > Just to be sur

Re: Safest pgupgrade jump distance

2024-02-12 Thread Karsten Hilbert
Am Mon, Feb 12, 2024 at 09:31:50AM -0500 schrieb Ron Johnson: > https://www.postgresql.org/docs/16/pgupgrade.html > "pg_upgrade supports upgrades from 9.2.X and later to the current major > release of PostgreSQL, including snapshot and beta releases." Just to be sure: it should be stressed that t

Re: Safest pgupgrade jump distance

2024-02-12 Thread Ron Johnson
On Mon, Feb 12, 2024 at 5:08 AM Dávid Suchan wrote: > Hi, I was wondering what is the safest pg_upgrade version upgrade distance > going from 9.6 version. Do I need to go version by version or I can go from > 9.6 to 15? We have a very huge database(TBs) with one replication server, > so we will f

Re: Safest pgupgrade jump distance

2024-02-12 Thread Johnathan Tiamoh
I have upgraded from 9.5 to 14 using the -link option. It works fine. I equally had streaming replication running on it. I break(split brain) replication and upgrade the standby, once it done and everything is running smoothly, I then install version 14 to the old primary and just configure strea

Re: Safest pgupgrade jump distance

2024-02-12 Thread Justin Clift
On 2024-02-12 20:07, Dávid Suchan wrote: Hi, I was wondering what is the safest pg_upgrade version upgrade distance going from 9.6 version. Do I need to go version by version or I can go from 9.6 to 15? We have a very huge database(TBs) with one replication server, so we will first run the pgup

Safest pgupgrade jump distance

2024-02-12 Thread Dávid Suchan
Hi, I was wondering what is the safest pg_upgrade version upgrade distance going from 9.6 version. Do I need to go version by version or I can go from 9.6 to 15? We have a very huge database(TBs) with one replication server, so we will first run the pgupgrade on the main server and then rsync to a