Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTAo8-0008Sg-81 for pgsql-committers@arkaria.postgresql.org; Tue, 21 May 2019 19:52:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTAo6-0006l2-1r for pgsql-committers@arkaria.postgresql.org; Tue, 21 May 2019 19:52:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTAo5-0006ko-ND for pgsql-committers@lists.postgresql.org; Tue, 21 May 2019 19:52:17 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTAo1-0000ET-Su for pgsql-committers@lists.postgresql.org; Tue, 21 May 2019 19:52:16 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 281C02151C; Tue, 21 May 2019 15:52:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 21 May 2019 15:52:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=TpkUG75XT0AEddK0O5DNPA4wJZv 4SWZBgN2gXJY5D7U=; b=gEhdOQuBLkbcr/1qYPd/mPqO0oHRKlDRsSaZnr7ZTS5 fpTEmM8LKxFP/cw9U2LgRDt1nLRwsQNLxQeKRVTeMjFlFp1iCBbAecDfrb73kyo1 +sr9S/zjFo5YWWZtNjepHl7fPsIPv2BE2dcWNEWMsDWrQ07+ayM9bHLrDRoRLLWT U9tg+OsUWtJ4B6Ra+4deDHLtU6NxVLl3J4PR1hJHuJ5kkZySL2exB65TfSReUfPD FyFy5n9KZ1HW3jxjbgwHxVFn+UHGezkx/u5BpA7PDNDkxTOQbHSkMjmckORxOXpL FpuOkAck0jUGjdbTj1SiASiO2dDMe407SXfCRIKWH4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TpkUG7 5XT0AEddK0O5DNPA4wJZv4SWZBgN2gXJY5D7U=; b=jgfh4zZ5CHenbfK2dJ6eWe QcZSaXduVF99oG22wBwfa13KerLYIGjRXyJI4xzFTYr6T1rvXA23lwIKU7KHU8Ff Zb6xsJOgErDMqtcUZkqXVxTvOeNl/qpQrv9MvuGThkaiWxSmgthi+l9P/edcM8qT tGlggTFaueE7sGBNn4sYkAbuWFuKFgD1G0mw5fzb7YW8Z+BOAIkUfyvJD/60lTf1 1AL92tGKkGX2VsbR8cKqvd0g633hUNv9n9uE07CfoZ4Uj0YsEDPWBUnZwErZ9o7z spLppRPKxu2NttVNK0DpZMzN3fd/vX1lTiHXTPfDSmPAuQXnrl5bT7r1PN5b53Cg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddruddutddgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesmhdtreertddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuffhomh grihhnpehpohhsthhgrhdrvghsnecukfhppeelkedrvddutddrudegtddrudejudenucfr rghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdruggvnecuve hluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 44A3280066; Tue, 21 May 2019 15:52:11 -0400 (EDT) Date: Tue, 21 May 2019 12:52:09 -0700 From: Andres Freund To: Tom Lane Cc: Peter Eisentraut , Michael Paquier , Fujii Masao , Fujii Masao , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Make VACUUM accept 1 and 0 as a boolean value. Message-ID: <20190521195209.qfzwfxvymguuwlu5@alap3.anarazel.de> References: <20190520163652.l7ibpe52pbq6lecc@alap3.anarazel.de> <20190520164908.t653bdbfjcn3d35p@alap3.anarazel.de> <23559.1558374415@sss.pgh.pa.us> <20190520180027.zyxosts5yrf2i7mh@alap3.anarazel.de> <24497.1558375780@sss.pgh.pa.us> <20190520203505.zoeitjlehqypgx26@alap3.anarazel.de> <21766.1558397960@sss.pgh.pa.us> <20190521004717.qsktdsugj3shagco@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ziqflia7ekwwjnqh" Content-Disposition: inline In-Reply-To: <20190521004717.qsktdsugj3shagco@alap3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --ziqflia7ekwwjnqh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On 2019-05-20 17:47:17 -0700, Andres Freund wrote: > On 2019-05-20 20:19:20 -0400, Tom Lane wrote: > > Andres Freund writes: > > > On 2019-05-20 14:09:40 -0400, Tom Lane wrote: > > > 3) The fact that src/bin/pg_upgrade/Makefile invokes test.sh with > > > MAKE=$(MAKE) triggers make, for reasons I do not yet understand, to > > > *disable* output synchronization. Which annoys the heck out of me, > > > because it makes parallel check output neigh unparsable. > > > > Probably the same thing as your 2)? > > It's not quite. I've not yet fully understood it yet. It's *not* tied to > MAKEFLAGS. If I understand correctly, when make sees $(MAKE)/${MAKE} in > a recipe, or the recipe starts with +, it assumes that the sub-command > is *also* make. And the reason that output synchronization doesn't work > is that make *intentionally* doesn't enable that for submakes - it only > wants it for commands run by those submakes (otherwise it could not > individually output individual targets processed in submakes). > > I think the right approach might be to just *never* invoke make inside > test.sh: > 1) We can fairly easily fix the make install to be unnecessary > 2) I think the installcheck-parallel could be replaced by instead > passing in the the necessary pg_regress command. That'd also have the > benefit of not having another make invocation stat'ing a lot of files > etc. > > I'll play with these. 1) was easy enough (posted at [1], and also attached here). I think 2) is a bit harder, because according to src/bin/pg_upgrade/TESTING we currently support invoking test.sh from commandline. Therefore I think we ought to just work around that make heuristic, by referring to $(MAKE) via an indirection. Like in the attached. After that I don't get any interspersed output anymore if I run with -Otarget. Greetings, Andres Freund [1] https://postgr.es/m/20190521191918.z7kwnrlj45mk2k67%40alap3.anarazel.de --ziqflia7ekwwjnqh Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v2-0001-pg_upgrade-Don-t-use-separate-installation-for-te.patch"