Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 8E53B1B10471 for ; Tue, 10 Apr 2012 21:13:01 -0300 (ADT) Received: from mail-qc0-f174.google.com ([209.85.216.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHlB9-0000J6-H8 for pgsql-hackers@postgresql.org; Wed, 11 Apr 2012 00:13:00 +0000 Received: by qcro28 with SMTP id o28so244976qcr.19 for ; Tue, 10 Apr 2012 17:12:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :x-gm-message-state; bh=j3mXlj0A5+ClB+Dcv2qMsYbfKTTd5BcjSYSnYCjJKGY=; b=YM5j+RYtUGit3Z+Y2xMXQ8JqpRAE3u4EnJGxW1z4WmHa+TVGv2d4IAphMHJvL1QowH UsjNJ3ncSR5FjLShiU4Y9gjYDHXJnGekN9zFgTeUESsHuvJoFEIjDv1aS1m62d8zAaoQ ORxX6Y2g+h1xDxuKmc0cPnUC4WoBjza4GNjmPWQpwuTguUtg2+wtJmqQo+jOeZKlBePK B2btLZjp5f3RijxEr2V/S7X5E+VvnVygvIdYu6m2tXB7UFRSbnnbY82sev9Bf4ebXfC/ LFAl7MnC+E7xZYDwAPhb/EVHV5V4iEOy2xb6WTQ8BAFiwgW8AREXD6NqlE+AOa86A1ge zu5w== Received: by 10.224.180.200 with SMTP id bv8mr17463472qab.29.1334103162122; Tue, 10 Apr 2012 17:12:42 -0700 (PDT) Received: from tornado.leadboat.com (ip68-105-236-221.hr.hr.cox.net. [68.105.236.221]) by mx.google.com with ESMTPS id 1sm2624063qac.3.2012.04.10.17.12.40 (version=SSLv3 cipher=OTHER); Tue, 10 Apr 2012 17:12:41 -0700 (PDT) Date: Tue, 10 Apr 2012 20:12:38 -0400 From: Noah Misch To: Kevin Grittner Cc: Tom Lane , Christopher Browne , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: Last gasp Message-ID: <20120411001238.GA12529@tornado.leadboat.com> References: <4F7E99BA.1080805@2ndQuadrant.com> <20120409053852.GG11987@tornado.leadboat.com> <20120409222359.GE30702@tornado.leadboat.com> <10796.1334075758@sss.pgh.pa.us> <4F841F330200002500046D81@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F841F330200002500046D81@gw.wicourts.gov> User-Agent: Mutt/1.5.18 (2008-05-17) X-Gm-Message-State: ALoCoQmneQXNGECC0LXa0cBGABOcZ6og5eazyiwCMjpJay+cAT164n/SmKAfwhqeK6tIc+reyIhw X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201204/539 X-Sequence-Number: 206342 On Tue, Apr 10, 2012 at 11:53:23AM -0500, Kevin Grittner wrote: > Tom Lane wrote: > > "Kevin Grittner" writes: > >> One other sort of mechanical test which I think can and should be > >> applied to patches submitted to the last CF is that if *at the > >> start of the CF* the patch doesn't apply, compile, pass > >> regression tests, and demonstrably provide the functionality > >> claimed for the patch, it should not be a candidate for inclusion > >> in the release. > > > > I would not be in favor of inflexible application of such a rule. > > For instance, if a patch had gotten broken by a conflict with some > > other patch applied the day before the CF starts, it would be > > unfair to not give the patch author a reasonable amount of time to > > rebase. And such conflicts occurring after the CF starts are > > hardly unusual either. > > I didn't mean to exclude rebasing because of conflicts with recent > commits, so perhaps "mechanical" was overstating it. But maybe not > -- perhaps each patch submission should state which commit it was > last confirmed to compile and work with, and if there are problems > against HEAD that could be confirmed before asking for the rebase. > That wouldn't be too much extra work for the initial reviewer, and > it would help establish objective criteria for categorizing whether > a patch should be treated as WIP. Of the patches I've reviewed that fall into one the problem categories Robert outlined, all applied cleanly and passed regression tests. On the flip side, I have submitted at least two patches that failed regression tests for the reviewer due to isolated, easily-fixed blunders. Consequently, I'm not hopeful about these checks as coarse indicators of patch readiness. I would certainly like an objective test for assigning patches to those categories, but I don't have a better idea for such a test. nm