Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFIhe-00CMVZ-Bi for pgsql-general@arkaria.postgresql.org; Sun, 24 Nov 2024 19:55:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tFIhb-009Ne1-PR for pgsql-general@arkaria.postgresql.org; Sun, 24 Nov 2024 19:55:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFIhb-009Ndt-9u for pgsql-general@lists.postgresql.org; Sun, 24 Nov 2024 19:55:27 +0000 Received: from smtp85.ord1d.emailsrvr.com ([184.106.54.85]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tFIhY-003Zvw-JR for pgsql-general@postgresql.org; Sun, 24 Nov 2024 19:55:25 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp11.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 782F060070; Sun, 24 Nov 2024 14:55:23 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication From: Christophe Pettus In-Reply-To: Date: Sun, 24 Nov 2024 11:54:52 -0800 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <60D0A828-451D-48B1-8A47-B246806A03E5@thebuild.com> References: <6c498f0e-64f9-449a-9b90-5cd72d00e2ef@aklaver.com> <2a7d96ac-83a7-4ddc-a3ce-9c637f2c1c76@aklaver.com> <1FBD217B-06FE-48CF-AA58-F7ADEDA5ADD2@thebuild.com> To: Ron Johnson X-Mailer: Apple Mail (2.3776.700.51) X-Classification-ID: b3a51ce3-cf7b-43bd-b773-665deb909dcd-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 24, 2024, at 09:15, Ron Johnson = wrote: >=20 > Doesn't the existence of a replication slot force PG to retain WAL = files when replication is broken? It does. I don't recall if the OP said that they were using a = persistent replication slot or not; it's not as common with binary = replication as with logical replication.