Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYrHa-0003Ys-Fr for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 13:18:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYrHZ-0006Aa-E8 for pgsql-general@arkaria.postgresql.org; Wed, 13 May 2020 13:18:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYrHZ-00068Y-6A for pgsql-general@lists.postgresql.org; Wed, 13 May 2020 13:18:45 +0000 Received: from ns76.e-blokos.com ([51.79.78.76] helo=node76.e-blokos.com) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYrHW-0003cB-BJ for pgsql-general@postgresql.org; Wed, 13 May 2020 13:18:43 +0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by node76.e-blokos.com (8.15.2/8.15.2) with ESMTP id 04DDIcCF057689 for ; Wed, 13 May 2020 13:18:40 GMT Subject: Re: Reuse an existing slot with a new initdb To: "pgsql-general@postgresql.org" References: <5f198805-8fd4-b49b-4046-e98fb80dea74@e-blokos.com> From: Support Message-ID: <48699aec-7736-6b8a-cd92-fe6d93db6a78@e-blokos.com> Date: Wed, 13 May 2020 06:18:38 -0700 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <5f198805-8fd4-b49b-4046-e98fb80dea74@e-blokos.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/8/2020 1:51 PM, Support wrote: > I normalized my replislots with the name of my nodes. > I have 2 options in my recovery script that tries first pg_basebackup > to recover and sync the hot standby, but unfortunately big DB fails > sometimes due > to very slow or unstable network. So my second option is to completely > make a new inidb and import an sql file from pg_dumpall master as it > takes less bytes once compressed. But I'm facing an issue with the > slot complaining (obviously) about the ho standby node that does not > match the slot identifier. So my question is simple, is there a way to > reinitialize the slot to not renew the identifier with the new hot > standby initdb? > > Thanks > > David No one has an answer to my question? thanks! David