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 1jZDzk-0006qs-15 for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 13:33:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZDzi-0004RE-Su for pgsql-general@arkaria.postgresql.org; Thu, 14 May 2020 13:33:50 +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 1jZDzi-0004R4-Ka for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 13:33:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZDzd-0000CT-QO for pgsql-general@lists.postgresql.org; Thu, 14 May 2020 13:33:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04EDXeuL025355; Thu, 14 May 2020 09:33:40 -0400 From: Tom Lane To: Support cc: "pgsql-general@lists.postgresql.org" Subject: Re: Reuse an existing slot with a new initdb In-reply-to: <5779b92e-5773-92a4-0e73-9df3e5e90fc6@e-blokos.com> References: <5f198805-8fd4-b49b-4046-e98fb80dea74@e-blokos.com> <48699aec-7736-6b8a-cd92-fe6d93db6a78@e-blokos.com> <48434f500ee2bf9572e6bbff143be073114f8c42.camel@cybertec.at> <779da3eb-6762-dbb8-3019-8c8515bf7397@live-school.net> <20200514035234.GC166343@paquier.xyz> <5779b92e-5773-92a4-0e73-9df3e5e90fc6@e-blokos.com> Comments: In-reply-to Support message dated "Thu, 14 May 2020 03:29:15 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25353.1589463220.1@sss.pgh.pa.us> Date: Thu, 14 May 2020 09:33:40 -0400 Message-ID: <25354.1589463220@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Support writes: > I think David caught it, the question is Why, as long as we have an > exact copy of the master (from pg_dumpall) Stop right there. pg_dumpall does *not* produce an exact copy. It produces a logically equivalent copy, which is not close enough for physical replication to work. regards, tom lane