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 1h1Mrm-00015f-2u for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2019 03:05:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1Mrk-0007fB-KM for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Mar 2019 03:05:08 +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 1h1Mrj-0007f3-HW for pgsql-bugs@lists.postgresql.org; Wed, 06 Mar 2019 03:05:08 +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 1h1Mrg-0006qP-5N for pgsql-bugs@lists.postgresql.org; Wed, 06 Mar 2019 03:05:07 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D46A021ED6; Tue, 5 Mar 2019 22:05:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 05 Mar 2019 22:05:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=69K9/z9mn53zv0j3wf7uzmlekyz OJDXjD02ikjfcNyc=; b=d6cY2IwDrVNPNHLhEyCkCN5YDvKkH4vp6z08DBu66Q4 O7IWSD+SkmQEiigZbDzHxAILgcfxPvyNgeOArczaXdhxOPgRsqyYR+aa8Ju3vY0T cp3jcnd7sVYgkRl5ahK+huuY0+U+l6L7S7CHT2r6I37efMd+w4S6leUGRzMzykxp DmWuzW3EEAfiORSAQp6yDkWO1lYx9XJwdAij6J3eAxl/v9j1kXSgz7L5dCHTt3gY 2jl+FhHLtSukEjxBTjFUwE/ORFaCcbFwAtL53/E8XIQmUYqiSMAD4/AjmpXrSz/S 26GvzvNO4sY/LuVrl06cqtdDQmFSnVjSsVc3J4HLfSA== 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=69K9/z 9mn53zv0j3wf7uzmlekyzOJDXjD02ikjfcNyc=; b=iJ0HAbO3M2ODLqaH47Qr7p zf+Ys0XsFwibE1DJILtmpyXvpDjh3gon5vbkMQP7PsZFo+Ha6XhLtB92egbwYV23 /zjAbC03SE8p3IKxxcxJfXa6o/+PeNeWWG0zHjPxgidXJHeGtnifiA8BGz+mhM+2 rwefznZYoS8d9axrsigttOR5TTyOUEYx11sA4z/BJn4KbNLcf1QE0D1sw3ZEYmf6 z8FrKG9BB4cNTYiw7Xub05uHR61SBscsqF5qSgRp2Xhw5s3+dWd3qt6Ti9jqs6TU jsfc5aWgMrwCT6V2WSOXcFFn7Xb5F6oWpTJR0y7aY3v3Ol6u2XJjfCQNS5D9E9Mg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrfeeggdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomhgrih hnpehpohhsthhgrhgvshhqlhdrohhrghenucfkphepleekrddvuddtrddugedtrddujedu necurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg enucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CE6EE4597; Tue, 5 Mar 2019 22:05:00 -0500 (EST) Date: Tue, 5 Mar 2019 19:04:59 -0800 From: Andres Freund To: Michael Paquier Cc: 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: <20190306030459.coyyy2uymbfipm4g@alap3.anarazel.de> References: <15667-8d3fca4eba25174f@postgresql.org> <20190306025626.GF30982@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190306025626.GF30982@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-03-06 11:56:26 +0900, Michael Paquier wrote: > 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. I don't think this has anything to do with the problem. Isn't this the known problem around truncation that Tom has recently talked about fixing? [1] https://www.postgresql.org/message-id/2348.1544474335%40sss.pgh.pa.us Greetings, Andres Freund