Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gx6Wo-00007K-3I for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Feb 2019 08:49:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gx6Wm-0003G3-Qo for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Feb 2019 08:49:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gx6Wm-00039V-FE for pgsql-hackers@lists.postgresql.org; Fri, 22 Feb 2019 08:49:52 +0000 Received: from server2.lako.no ([77.235.58.136]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gx6Wj-0005tk-JP for pgsql-hackers@lists.postgresql.org; Fri, 22 Feb 2019 08:49:51 +0000 Received: from webmail.lako.no (localhost [127.0.0.1]) (authenticated bits=0) by server2.lako.no (8.14.7/8.14.7) with ESMTP id x1M8ncME065069 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Feb 2019 09:49:39 +0100 MIME-Version: 1.0 Date: Fri, 22 Feb 2019 08:49:38 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.12.1 From: leif@lako.no Message-ID: <4580ce9139ea70b42946f7a5d6e1c713@lako.no> Subject: Re: BUG #15589: Due to missing wal, restore ends prematurely and opens database for read/write To: "Kyotaro HORIGUCHI" Cc: pgsql-hackers@lists.postgresql.org In-Reply-To: <20190131.212648.235621599.horiguchi.kyotaro@lab.ntt.co.jp> References: <20190131.212648.235621599.horiguchi.kyotaro@lab.ntt.co.jp> <15589-8e6e353a97b085fb@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Kyotaro HORIGUCHI" skrev 31. januar 20= 19 kl. 13:28:=0A=0A> If this is acceptable I'll post complete version (in= cluding=0A> documentation). I don't think this back-patcheable.=0A> =0A= =0AIf you are asking me, then I think this is exactly what I wanted, than= k you for your effort.=0A=0A=0A>> With large databases and a lot of wal-f= iles it is time consuming to repeat parts of the process.=0A> =0A> I unde= rstand your concern.=0A> =0A> regards.=0A> =0A> --=0A> Kyotaro Horiguchi= =0A> NTT Open Source Software Center=0A=0A=0Aregards=0ALeif Gunnar Erland= sen