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 1h1MjZ-0000Xp-Gl for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2019 02:56:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1MjX-0006uH-N1 for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2019 02:56:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1MjX-0006ru-Fi for pgsql-bugs@lists.postgresql.org; Wed, 06 Mar 2019 02:56:39 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1MjR-0006ha-DB for pgsql-bugs@lists.postgresql.org; Wed, 06 Mar 2019 02:56:39 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id DC857215AC; Tue, 5 Mar 2019 21:56:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 05 Mar 2019 21:56:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=3Q0sSLMW1WxjdeFQrKfn6zaLzAn YImemrdapEZ02jd4=; b=eJHF14cuG5UuGQI65PAfdASLwLRTg5bIgjiqeyda06j bDnqFbekdc5rEdPfoMR6LxWm6D3Ym24JBzbfBuFAq6AaOHeyFR4zwZ5fXaMABOE7 iy376xYXm/2PcX2GlrmzqTLFgkcfVDXTH2HB8YUsOZonSIlKLONx177i/UJQz6xX KrUgfq0uxpiXcZToZdqPaxhthY58lsPi991Muu91jJwsh8SuQYEIuG4YY6o2orNB 4P4XPsHKK0BGtlfxNjmNuk9sdrgA2LpcYg07GBuvhm6sZ04K0ap39Ps1gpO2pH4x hsqR4b6u9TvoBd3AYspkgkKJWlcok7n5SoooOqzSGcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=3Q0sSL MW1WxjdeFQrKfn6zaLzAnYImemrdapEZ02jd4=; b=a8Ec3VbOpfItGD2S24H8Dm NW/0P0AS0moX7grF2qTACyKCpQ443MH+SAcXAwyYBU9qdjVIiRmREIfc8QgG8aJB 4Nr+ALvYuNNqYcVKpZ9NOg1uMMdSGBhFNoiLfQnUMdkdP0DaZniklROeg9kwI7n7 i+1gPrYBHaU+4+nM222bY0AH6QLbHE4C1UqMzwJWSk65nVMRkRHU4Be8tgEFFW39 2Y74BApkQbe3SI4OkNQIiPLh1d8RUSi3m0GYHdtecIT4n4uetOLx5bl6HaPs/XZP VwSoQyKi4gmLNB9q0v3EURpJejAn0V6Vf7WMuqUyOn5l3UOyXv1TOEo4ODBQcMcw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfeeggdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeeiuddrvdduhe drudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgr qhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 648FA100E5; Tue, 5 Mar 2019 21:56:29 -0500 (EST) Date: Wed, 6 Mar 2019 11:56:26 +0900 From: Michael Paquier To: aki-kurosawa@vt.jp.nec.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15667: "could not truncate file" error caused deleted rows to become visible Message-ID: <20190306025626.GF30982@paquier.xyz> References: <15667-8d3fca4eba25174f@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kR3zbvD4cgoYnS/6" Content-Disposition: inline In-Reply-To: <15667-8d3fca4eba25174f@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --kR3zbvD4cgoYnS/6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 05, 2019 at 06:38:02AM +0000, PG Bug reporting form wrote: > I guess that "Permission denied" is caused by antivirus software. > However, this error caused data inconsistency in the table. Most likely so. Please be very careful to disable that where Postgres is running or apply filters. Windows is not concurrent safe by default when it comes to handle writes, and Postgres uses a wrapper for open() which makes use of some concurrent-safe options when handling files to avoid such problems. -- Michael --kR3zbvD4cgoYnS/6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlx/NtoACgkQnvQgOdby QH2icw//dQ9F+598D9ZXaSrdo5Jcjvi71v32pUJfep3WOBcGk/jhYx6BuMtHPR90 wRzdsPh2eF/ojLZxdYJuqWOxXx6sfktJAMZVGBSBQpk7XgQhQaexHydxjR6P7YkZ XVMh9XUvkSIa3bs7+yda9oK/FrNogWkl9t7LMuAYKTcTUQnKmYbEoNUrymr929Xo HLHArej0NaTxoWq8zrh8mh5kunyO5aCrYUG9H8OyD6aghFHBQRhg5mOxwllHybS6 7uPGDGocaq/Io30PnSXtV6HS/HBYJgjiOUUAHKvs8nIa+Cc2GsEYkQ5OAV4WLPQ/ MEOFtO5Gr+qeDRazgcPPgTVKbWIlxedO2AVyGGTSOy/Yk05qs2YyjqM6LGOuU3XC t/Wc0fMliu28Ey+rIlSsLYgKVyIOGBQA2uDb0uVOxAEauqKsl4+nGqgmPtvVJ8Y2 RoyRgLtdHyMLp2MwhWYJOuoYZnGgiTzep+MpvxzDH1MN0HktkFPhYla62dLdkBId a86fbuk1Byksihp4XLxxsQvq4ND/fFY+ZDu3rl2PoO8sIxkpFP4Eo4+1t4I/jlUb njseHH5mslXS58Hl900Ac2h1Q2gEcNybY3J1i1mpOshCxBwyeSbYoYbrJ0mvpUx6 guIg2SUMgGF8YFdhSpVMBy/kE34SyyMLIzHDU13U0FLud2ke6GU= =/+Ur -----END PGP SIGNATURE----- --kR3zbvD4cgoYnS/6--