Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfSmQ-0004xh-WA for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2017 15:20:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dfSmQ-0007it-Gj for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Aug 2017 15:20:18 +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.84_2) (envelope-from ) id 1dfSkt-0004wE-9O for pgsql-hackers@postgresql.org; Wed, 09 Aug 2017 15:18:43 +0000 Received: from xvm-110-146.dc2.ghst.net ([46.226.110.146] helo=fetter.org) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfSkq-0007OI-1B for pgsql-hackers@postgresql.org; Wed, 09 Aug 2017 15:18:42 +0000 Received: by fetter.org (Postfix, from userid 1001) id 782AC4004F; Wed, 9 Aug 2017 17:18:37 +0200 (CEST) Date: Wed, 9 Aug 2017 17:18:37 +0200 From: David Fetter To: Tom Lane Cc: Robert Haas , Thomas Munro , Michael Paquier , Alvaro Herrera , PostgreSQL mailing lists Subject: Re: Re: [COMMITTERS] pgsql: Fix inadequacies in recently added wait events Message-ID: <20170809151837.GF10454@fetter.org> References: <20170808213537.wkmmagf2a6i3hjyi@alvherre.pgsql> <23772.1502288054@sss.pgh.pa.us> <32157.1502290610@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32157.1502290610@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Wed, Aug 09, 2017 at 10:56:50AM -0400, Tom Lane wrote: > Robert Haas writes: > > On Wed, Aug 9, 2017 at 10:14 AM, Tom Lane wrote: > >> Thomas Munro writes: > >>> As for whether hypothetical check scripts would ever be run, I > >>> was thinking we should stick them under some make target that > >>> developers run all the time anyway -- perhaps "check". > >>> Shouldn't we catch simple mechanically detectable problems as > >>> early in the pipeline as possible? > > >> Adding overhead to every developer's every test cycle doesn't > >> sound like a win. > > > If it takes 100ms, nobody's gonna notice. > > I doubt running a perl script that analyzes the entire backend > source code is gonna take 100ms. What would be a reasonable maximum amount of time for such a check to take? Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers