Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c6Nxg-0006vW-Rv for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2016 20:34:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c6Nxf-000684-79 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Nov 2016 20:34:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c6NwF-0004Z2-I3 for pgsql-hackers@postgresql.org; Mon, 14 Nov 2016 20:33:11 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c6Nw6-0005d0-EQ for pgsql-hackers@postgresql.org; Mon, 14 Nov 2016 20:33:10 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 36C46206A9; Mon, 14 Nov 2016 15:33:00 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 14 Nov 2016 15:33:00 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=oUzpmRwVUjMJzb d3Ui1A0HJE25s=; b=qX5+dkyRZpxuZwpHWnwjtVRL75+T7KCQRaonWjG6xra8cm 2nEgir0xbNOO585N+4G9lxs2b0xGaM7Jz6gbRui8s4AhOC1uOFBIWuazQ4P1Uicz ccSBpaUZPq9P3Ff9ub6m5PZIMeA8AHXFErx7OZNFw3mF8G4QxSsuRCscF9WeM= X-ME-Sender: X-Sasl-enc: TDXj9y3xs354eG02RyJD1FGsNi4FxSi94YBgBEj0SAm1 1479155579 Received: from intern.anarazel.de (unknown [50.201.8.0]) by mail.messagingengine.com (Postfix) with ESMTPA id DA1567E442; Mon, 14 Nov 2016 15:32:59 -0500 (EST) Date: Mon, 14 Nov 2016 12:32:59 -0800 From: Andres Freund To: Tom Lane Cc: Amit Kapila , Ashutosh Sharma , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Re: [COMMITTERS] pgsql: Change the way that LWLocks for extensions are allocated. Message-ID: <20161114203259.fw3b3cmb67k2zl4z@alap3.anarazel.de> References: <20160830023140.tsesenk7roajx3ak@alap3.anarazel.de> <20161112130408.kfsxcbkqo2b3nvuq@alap3.anarazel.de> <22432.1478968242@sss.pgh.pa.us> <20161112163508.5uqlaozeyr3l56ae@alap3.anarazel.de> <22899.1478968932@sss.pgh.pa.us> <20161114201410.ctgglamtdu2u5yj3@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ae2y3mjzi3vicwx7" Content-Disposition: inline In-Reply-To: <20161114201410.ctgglamtdu2u5yj3@alap3.anarazel.de> X-Pg-Spam-Score: -2.6 (--) 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 --ae2y3mjzi3vicwx7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2016-11-14 12:14:10 -0800, Andres Freund wrote: > On 2016-11-12 11:42:12 -0500, Tom Lane wrote: > > Andres Freund writes: > > > On 2016-11-12 11:30:42 -0500, Tom Lane wrote: > > >> which is a rather blatant waste of cycles. I would suggest an explicit > > >> do-nothing installcheck rule rather than the hack you came up with here. > > > > > I had that at first, but that generates a warning about overwriting the > > > makefile target - which afaics cannot be fixed. > > > > Hm. What about inventing an additional macro NO_INSTALLCHECK that > > prevents pgxs.mk from generating an installcheck rule? It's not > > like we don't have similar issues elsewhere, eg contrib/sepgsql. > > Well, that one seems a bit different. Seems easy enough to do. Do we > want to make that macro that prevents installcheck from being defined, > or one that forces it to be empty? The former has the disadvantage that > one has to be careful to define a target, to avoid breaking recursion > from the upper levels. Oh, that disadvantage doesn't actually exist, because installcheck is a .PHONY target... I've for now not added a variant that prevents plain 'make check' from doing anything. I guess it could be useful when a contrib module wants to run tests via something else than pg_regress? Patch attached. Andres --ae2y3mjzi3vicwx7 Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="0001-Provide-NO_INSTALLCHECK-for-pgxs.patch"