> On Oct 13, 2022, at 3:42 AM, Ebin Jozer <ebinjozer@xxxxxxxxx> wrote: > > We have master and slave environment. So for upgrade we have upgrade first in slave and then in master environment. Please confirm Depends on your HA requirements. Easiest: shut down primary and all db access, upgrade one, bring it back up as primary, upgrade other and bring it back online as replica. Harder: use a replication scheme that works across versions (publish/subscribe, pglogical, londiste, bucardo) so that you can bring up a new replica on the new version, switch over to it with minimal downtime (just enough to make sure changes from master have been replicated), then turn the former primary into a new replica.