Re: Can we directly upgrade postgresql from 13 to 15.4

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: jayesh thakare <thakarejayesh700(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Can we directly upgrade postgresql from 13 to 15.4
Date: 2024-11-08 18:16:39
Message-ID: E48C5CDC-9AF3-44DB-8FB7-79CD34AFD18D@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Nov 8, 2024, at 10:12, jayesh thakare <thakarejayesh700(at)gmail(dot)com> wrote:
> Can we upgrade postresql from 13 to 15.4 directly?
> Can we upgrade postgresql from 13 to 16 directly?

Yes.

> Ideally how many major version can we jump to from older version ?

There's no practical limit, assuming the old version is not an ancient version of PostgreSQL (pre-9.0, say).

That being said, PostgreSQL's behavior changes with every major release, and there is always the possibility of query plan changes or other surprises. It's essential to test your application thoroughly on the target version, and do dry runs of pg_upgrade.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2024-11-08 20:23:03 Re: Can we directly upgrade postgresql from 13 to 15.4
Previous Message jayesh thakare 2024-11-08 18:12:37 Can we directly upgrade postgresql from 13 to 15.4