Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication - Mailing list pgsql-general

From Subhash Udata
Subject Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication
Date
Msg-id CAD=40Z33zWtPmCa5bhtJaQR26CR4bXxBkYKUE1MXZ5JDFv6Qsg@mail.gmail.com
Whole thread Raw
In response to Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication  (Christophe Pettus <xof@thebuild.com>)
List pgsql-general

Thank you, everyone, for your valuable clarifications and insights. Your guidance has been incredibly helpful in addressing my concerns and understanding the best approach to proceed.

I truly appreciate the time and effort you’ve taken to assist me.


On Sun, 24 Nov 2024 at 22:36, Christophe Pettus <xof@thebuild.com> wrote:


> On Nov 24, 2024, at 09:03, Subhash Udata <subhashudata@gmail.com> wrote:
> When we shut down the standby, upgrade it, and then start it back up, will the replication automatically resume from the primary to the standby?

Assuming that the standby has access to any WAL generated during the shutdown (either still in the primary's WAL directory, or via an archive using archive_command), yes.  If you are not using a WAL archive using archive_command, you will want to make sure your wal_keep_size parameter is set high enough that required WAL segments aren't recycled during the standby's downtime.

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication
Next
From: Christophe Pettus
Date:
Subject: Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication