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 1lMedi-0005Tm-99 for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Mar 2021 22:27:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMedh-0006qK-41 for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Mar 2021 22:27:41 +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 1lMedg-0006qD-Fx for pgsql-bugs@lists.postgresql.org; Wed, 17 Mar 2021 22:27:40 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMedd-0000Xj-SN for pgsql-bugs@lists.postgresql.org; Wed, 17 Mar 2021 22:27:39 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 159365C00B2; Wed, 17 Mar 2021 18:27:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 17 Mar 2021 18:27:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=ScOfqr+SUYYyMzLoOXShI76nmYq qoSxBwgY/CF+5vNU=; b=DSzPAZXZ65B5tBF0dim2WOF3cowPlSPGUr6n4e/ELfz em3Q7DgsqygZWTfP8plMbb6L1Hm+0vDB0v43S9kUCTmdPEbG6R25anaNijf4vu6C 5rEPiNy98Jjo+bW7MYEPL6jJM8DomOUJmydKNbFUkgjgDusNsCKnDlF6dgvjZo58 b5mKfLDf1WfiPnV5bQUw9LugiMUJD77GaSi9jPpNyYZcUyz9aheVDz4uL/isF/Tg IeitsrI3+wQGhUA5YnggX8TmuBxCJRhD+ZKwVeZyPJmoSQdUhkV2OP//TyWLuyzd Z6/XZ8yqaAFQpLOeh9ZcXDrL8OPxXiWUDfiBwAKw1OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ScOfqr +SUYYyMzLoOXShI76nmYqqoSxBwgY/CF+5vNU=; b=Z2Fnx6UB926Gfc30YE89Nf FJ/WkDgCBroLbeVt7NLgUpu5m1dTfKr2WqvT8DMVTbmFizqYNOu2V5ZhYvPXRXqe sgFSHDNIPduAGPIOvImNqtgVcjhawF+fd0w9tNwTwCUvDyPbHESap7QZPQrr6Y/u nDgXWRRa23VKXJXLlkEUusn/XCb+e1AZwpYdCJV65upf50gWiPxFPianKi23mhp3 Ufwa73x9FEK+IHZXTccuzMMIIo23a8jckebceZZnF8dtdyESsAUxfKfqTFhBiN59 8ZQ7LT9uiqJDD6CUumqfo2Ji1xoWi3rGgEe6uhcSb5ouDYdnVp3KH/dkZIqXE/7Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefgedgudeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredt tdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepueekuedttdelvddvfeejheff leeuffekteelgfeuffefteeigeehkeegueeflefgnecuffhomhgrihhnpehpohhsthhgrh gvshhqlhdrohhrghenucfkphepudduuddruddtvddrudektddrudekheenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprg hquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id AFFF524005B; Wed, 17 Mar 2021 18:27:35 -0400 (EDT) Date: Thu, 18 Mar 2021 07:27:31 +0900 From: Michael Paquier To: =?utf-8?B?0K/RgNC+0YHQu9Cw0LIg0J/QsNGI0LjQvdGB0LrQuNC5?= Cc: Postgres bugs Subject: Re: BUG #16927: Postgres can`t access WAL files Message-ID: References: <16927-67c570d968c99567@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o921DJsw9vBLYrlL" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --o921DJsw9vBLYrlL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 17, 2021 at 10:34:05AM +0200, =D0=AF=D1=80=D0=BE=D1=81=D0=BB=D0= =B0=D0=B2 =D0=9F=D0=B0=D1=88=D0=B8=D0=BD=D1=81=D0=BA=D0=B8=D0=B9 wrote: > I am able to run compiled binaries + patch on my servers, that not a > problem. Or I could also compile if you could tell me briefly how to do > that because it`s real useful skill :) There is some documentation to do that with Visual Studio: https://www.postgresql.org/docs/devel/install-windows.html In my case, I just use a command prompt to launch those commands and do the work. I can send you links to download custom builds, of course. My guess is that these should be able to work on your host, as Windows is good in terms of backward-compatibility. > I attached 2 files: files_list.txt - that content of pg_wal directory; > second file file_option.png - properties of one wal file that postgres > can`t access. Strange thing is even with domain admin or local admin I > can`t see rights properties for this file. Thanks. The .deleted files come from RemoveXlogFile() where a file gets removed. This means that a rename before doing an unlink() fails. What we are looking for here is what is holding those files back. -- Michael --o921DJsw9vBLYrlL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBSglMACgkQnvQgOdby QH0Pfw//ZbroJ9GOUzmpqopQ1E5TvaygQ9+SBJqGkeYkb2UPx9UD18Na1VpPPrLQ exC2WW+EGcTw7oA9GN8yueNzyZc6ixxwLUXyINP5lA0v28m6Im1d7c+m+/7io0ti CfRvrmDAgnQH1ODsm0snpaZY1Err4ukXlr5EpH490p/I7i4tEBk0M+JdKNT3fHOA VHvnnwZYfbHbTkRA5FD8pLp1XpXKghU7j1biFnei94+xD8jq0ilKCvhr1pDClvb5 NtAL1Ab9G4fHsrVX/GjasUSTOzKol1Xb3l/AEIZTGCZqrPMURS5/or5T/dU7qTL3 op0iUJjf25n6abDNcpzCVkVCxtWUBJ9afHs4JxsX7K+sZirEmf0EaH3/sKJ4Tc1g zLfBFzlz8QnzzxnePVC/RZ0L2hj2IZub5mXvXC2t7IAiZNtRYt0J0Sp6qyqBHssB 0aYoka5zRe1PBVJfdhA0aZOzZHe1137vl56EbJIpPsn7mpSZ11QZVRgp4pS5ssTw XLt5pW3EbMa84B1P+O/VV60HtWF3H9pzrYODUIe7ZT84wZARpx8bK43MyQNXvYtc GIpIYz3+YJOb0bLducbOSycGStW+gBcLmIsiVZGvqv/RvBy/HKTyMBF7C3A0eHsz YNS5fqVUnEjpcLANqLi0Z1zBFrrb1yyqYQb3SL1jSKlXeZbOHMg= =kpLG -----END PGP SIGNATURE----- --o921DJsw9vBLYrlL--