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 1jqOET-0005D4-K4 for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2020 21:56:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqOES-0007Kp-BZ for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2020 21:56:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqOER-0007Kh-VF for pgsql-hackers@lists.postgresql.org; Tue, 30 Jun 2020 21:56:00 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jqOEP-0005Mb-00 for pgsql-hackers@postgresql.org; Tue, 30 Jun 2020 21:55:59 +0000 Received: by mail-qk1-x741.google.com with SMTP id e11so20273811qkm.3 for ; Tue, 30 Jun 2020 14:55:56 -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=c9cKNXBywS8MRqB762VV3qXHWIUMPAv+ep9LLCgzHNU=; b=k/AW7ExKvop7jRjPiH74oNyr3e96vQOhmeOQeQp17als7tSo7yWdNAZHUMjsWkyxxT RCI2L816a55lm5lapij2xujlQz7fknZFQO6hkjNQHHiJYkK5RHrMPHJeEOGhzC2zaFiq 2fXb9VRdF7YlDz38+WAfJ0Y6LnOQ4P5dLaI3IOK6uJaOybLXaVrVufPzCzpP6TicUCYA Xr/zBCdokxpeYxnLX74g47195TU+UVK4WxTVFM7yjh195dbrHvEjkjXTDvRpspzl/wB4 OSOBtYxCBF+TeuHycnlvUm+cqXDGqTagKeBDKc/RUs4eaVhhCwVV+zVCzvNL6BWIlicu N8qA== 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=c9cKNXBywS8MRqB762VV3qXHWIUMPAv+ep9LLCgzHNU=; b=Z28ZoaxK8G5BEpOq9pKj/2LXiwz1uRI1J8zwYVX9kBBQGvqjntP/pg86DSbSI0izC4 BGksMHQw3rjH6LJZOwkyH4XXhkRSmkplz1qgJW/QPHLRn79EW7Ep+X1R17qMBKr32GzW Dz0o1JclXvYOqrG36CEvzzWULdlrN5HtHsOKCUGrFV3WoSfh0YfmLpHc+3gEaWEtn075 BB9W9K90LqLyfU7ijwodW43Fo1mXzm2/LCEl7s/xvTjCKFKrrdK8z895wSyRslQQyNGM lthTabnFq8FSLPkAAxrQ62u8rJvNHU2mgTe8/VK6sQZI6d7auuqIC0yjyBPtqLGYXZ8w vCNA== X-Gm-Message-State: AOAM532eD0otg4pWCY4MnTQvfiUNU/eZf3+x4vmluI8DHFfauJPUqxDB dRfXzHLx6tcU/5P2+EHLRL74Qw== X-Google-Smtp-Source: ABdhPJw2gmchixiGY9On0SkZMyLPvpFuDd4XjtxRY3lLDXcLdVQDEXQ9J1KYIgGUzLfgRpLplQwDkw== X-Received: by 2002:a37:a711:: with SMTP id q17mr22140802qke.257.1593554155118; Tue, 30 Jun 2020 14:55:55 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id 18sm4199217qkh.40.2020.06.30.14.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 14:55:54 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id DFF0C2A1680; Tue, 30 Jun 2020 17:55:52 -0400 (-04) Date: Tue, 30 Jun 2020 17:55:52 -0400 From: Alvaro Herrera To: Mark Dilger Cc: Dilip Kumar , Robert Haas , Peter Geoghegan , Andres Freund , PostgreSQL-development Subject: Re: new heapcheck contrib module Message-ID: <20200630215552.GA21610@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-Jun-30, Mark Dilger wrote: > I'm guessing that hardening the backend would be a separate patch? Or > did you want that as part of this one? Lately, to me the foremost criterion to determine what is a separate patch and what isn't is the way the commit message is structured. If it looks too much like a bullet list of unrelated things, that suggests that the commit should be split into one commit per bullet point; of course, there are counterexamples. But when I have a commit message that says "I do A, and I also do B because I need it for A", then it makes more sense to do B first standalone and then A on top. OTOH if two things are done because they're heavily intermixed (e.g. commit 850196b610d2, bullet points galore), that suggests that one commit is a decent approach. Just my opinion, of course. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services