Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAnOP-0003fW-Le for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Oct 2018 02:41:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gAnOL-0005X0-53 for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Oct 2018 02:41:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAnOI-0005WG-UW for pgsql-hackers@lists.postgresql.org; Fri, 12 Oct 2018 02:41:28 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gAnOE-0005CS-Mz for pgsql-hackers@postgresql.org; Fri, 12 Oct 2018 02:41:25 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id CF234CA6; Thu, 11 Oct 2018 22:41:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 11 Oct 2018 22:41:21 -0400 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=fm2; bh=RVEM/ovF+YC/eSAWKrdjlZmcKJN dVwoTZ98m0oJE9mw=; b=fDTpl6aRzjfgZMKx1xe/geiBb2Koo8G1WKDW/jGBDS1 MHAv203n+wqLlJi+zL6r3lFovwoh9EreGD5gNVgOqFS93BBCzf3JdhG8WSuqCcs1 7DkuKKa2XpwM1QvO0AYPYIyBN5OPAStWRP4l5t6Ce9g+x+L4qmd7d2VjTL66WKaA huIlVTv9JUk/KisVNmJEBBMef+sycoJDJc7ny9dBLurWEKqq5Zewq8snweWLfEiM YDyy0aE5g3r2hU7s+bmpgaGZjEGzAdUu1ARVUzHX+pDEZm9CHnyh7iRWjpSEzPJp SlAdTs4RZaoQDmikRC19pz75FARcr0+H3LvV8PEVNVA== 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=fm1; bh=RVEM/o vF+YC/eSAWKrdjlZmcKJNdVwoTZ98m0oJE9mw=; b=rBGIn7SsRrju01EcZFiS7/ Idwu0Uwi90ypmTQlYHfh/i99DVI4TOfU/gM0jsd4NBmCFdwsseaPG6+56Pv/S29c d6LCIaj0MX62D3pqcspuFQ1knS+A9N+TLcG5Al7Zkq1VP9rrGeS7XqCIQy6CTxbQ 4vTVOgLXKzW5NZV/0WDpTxGJ394woK0jXeq79NoE8JXm2JXFooV4KXXrjOWtraOH zbJ9j6Jrvz3O5Ad1XIIHaiNWhxvzevUJr4D6rWUP56zDYZ+ryiCygUaJId2dckg/ 0DAjkklVZ3ypW7yqh8a5Pwm04ItPuGb8u86sqQ0R46Cpun/J7zEY/488UvZWVimg == X-ME-Sender: 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 254F0102D5; Thu, 11 Oct 2018 22:41:19 -0400 (EDT) Date: Thu, 11 Oct 2018 19:41:18 -0700 From: Andres Freund To: Michael Paquier Cc: Postgres hackers , Daniel Gustafsson , Magnus Hagander Subject: Re: pgsql: Add TAP tests for pg_verify_checksums Message-ID: <20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de> References: <20181012005614.GC26424@paquier.xyz> <20181012010411.re53cwcistcpip5j@alap3.anarazel.de> <20181012013918.GA30064@paquier.xyz> <20181012015319.ezsb2cxb52ulbqgx@alap3.anarazel.de> <20181012020758.GB30064@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181012020758.GB30064@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-10-12 11:07:58 +0900, Michael Paquier wrote: > On Thu, Oct 11, 2018 at 06:53:19PM -0700, Andres Freund wrote: > > Hm. Maybe I'm confused, but how is it correct to use a blacklisting > > approach here? It's far from absurd to have files inside a tablespacs > > when using temp_tablespace that aren't written through the buffer > > manager. Like, uh, temp files, when using temp_tablespaces. > > pg_verify_checksums assumes that the cluster has been cleanly shut > down so temp files are not an issue, no? However... We only remove temp dirs on startup, and I'm pretty sure there at least not too long ago were a few error cases where we can leak temp files in individual sessions. And there's talk about allowing pg_verify_checksums when online. So this seems to be an angle that needs to be thought about... Greetings, Andres Freund