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 1jZJaB-00005s-K8 for pgsql-hackers@arkaria.postgresql.org; Thu, 14 May 2020 19:31:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jZJa9-00047w-Go for pgsql-hackers@arkaria.postgresql.org; Thu, 14 May 2020 19:31:49 +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 1jZJa9-00047X-5e for pgsql-hackers@lists.postgresql.org; Thu, 14 May 2020 19:31:49 +0000 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jZJa5-0003Wq-9V for pgsql-hackers@postgresql.org; Thu, 14 May 2020 19:31:47 +0000 Received: by mail-qv1-xf42.google.com with SMTP id a4so2289051qvj.3 for ; Thu, 14 May 2020 12:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=NKEC1r0TnsbTvBV3UEpWssJ29Pn6g8w0GLPH97V7LDk=; b=fTr/9Zjh0r3OaLtXWhBAw+ipX+yPwMZdNkWIZG5RTzj7QU9ydpV+5bsVsXUW3/UwwF +AR6lkR4yZ5ckvAUiflBEkRAg0XizYnMkTLu73XQVZSQu5XMNHGPsoYoizYwzSxsRtNI R/1NETg/clwwkq8H0+1fZQXigGm2IKT2xiOC+SUa439Wht/VFbBHihpndy3TkG9G7apq 8rPZRpI0UTqHTPgPJSToAIV8oHDx2GBeqEamdTkKZKO3xRI67LIgWeIBOg6IjvpD4jka ozs3WvbtDZEQbUxzseVEhCq5qdrJ7J6c3NITovl0T48co6VSutSIGE3MKMs27TC+QolQ WogQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=NKEC1r0TnsbTvBV3UEpWssJ29Pn6g8w0GLPH97V7LDk=; b=Z92bauWR1rgpSlkMpNbTGWYZM7uWzUMnF++yUDt8WVbefUr6qAzR987SZOWnIlPwd/ E4MwovBuhhRrs4rCVbqhFmYl2sFFsDAPTeIBopt9qYqWgmRl6hsfyt2ksnA6Hi/Ly2pQ YVtAwh4O+jB7ftIsxCrfmBE524zEuritTI09W+BRuYGFa1UtHaf/4qk8B9qeISAHW5JH wgDRQ06zDI4lgDt6JFXxOpIG3icmTC27tGdhEjZKoZwa0Wn2VMnkDB/8V0YO24sy0Sqp zP/5gJxMlSFpZaf/Te71McnhGkP641oeX9n89/5SNOm7UfHXRVwBnxYJo97xFNwqAHlt j+vg== X-Gm-Message-State: AOAM532Z3az6d5IE0k5v2Jx1k8OHDMOI567GcjQnM18f8r/sW7Cmtg0V IxmbEO+H7N08+9MoIjywPfdOgQ== X-Google-Smtp-Source: ABdhPJw240fZPfQqdcTHOcProE4ZJxFA4E9QnXJ7zXd6bPjvwz6oQ0VE85oIGZ7QsVRBGGZ4ZD+FuQ== X-Received: by 2002:ad4:5584:: with SMTP id e4mr3859953qvx.191.1589484703968; Thu, 14 May 2020 12:31:43 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id p40sm40894qtj.59.2020.05.14.12.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 12:31:42 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id 7BA8230069A; Thu, 14 May 2020 15:31:40 -0400 (-04) Date: Thu, 14 May 2020 15:31:40 -0400 From: Alvaro Herrera To: Robert Haas Cc: Peter Geoghegan , Mark Dilger , Andres Freund , PostgreSQL-development Subject: Re: new heapcheck contrib module Message-ID: <20200514193140.GA19814@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-May-14, Robert Haas wrote: > I have a question about what you mean here by "arbitrarily." > > If you mean that we shouldn't have the buildfarm run the proposed heap > corruption checker against heap pages full of randomly-generated > garbage, I tend to agree. Such a test wouldn't be very stable and > might fail in lots of low-probability ways that could require > unreasonable effort to find and fix. This is what I meant. I was thinking of blocks generated randomly. > If you mean that we shouldn't have the buildfarm run the proposed heap > corruption checker against any corrupted heap pages at all, I tend to > disagree. Yeah, IMV those would not be arbitrarily corrupted -- instead they're crafted to be corrupted in some specific way. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services