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 1nIcUV-0007hq-VV for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Feb 2022 20:26:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIcUS-0001Io-0w for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Feb 2022 20:26: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 1nIcUR-0001Ia-OR for pgsql-hackers@lists.postgresql.org; Fri, 11 Feb 2022 20:25:59 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIcUO-00025q-B3 for pgsql-hackers@lists.postgresql.org; Fri, 11 Feb 2022 20:25:59 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8D7735C0127; Fri, 11 Feb 2022 15:25:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 11 Feb 2022 15:25:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=+R7y+sY3EH+FR4xw1x7R/1w2sdK7U835qZtwDWiKgw4=; b=aNzeRpBe xOeKzvnq/FM5nBwXqBkGpgj1AIhkpx99JbI02LZNIe53MvlBP7GTcWNHegVE/Zft WCrQCv+U4MPKZBo398RmuAygWYzTi+KRww9IkELJ01sjKDkwz07k94UnC3GSKDB9 cHUgTCzSYzrLWm+LxOLu2PkKAjyTP2fKdib9YZDT2Le1+yVjS1cMCpOLYKiXC2Ng JzIscLGG8v6c6kOmVHASN5lcMp+otCCYJpicertjhVASWnDYwkwve1T76KU+foTF 7kb0AdD6MIS5Tv0w7FN5iCCaI7Jb5IsBhMceKCraArInyG/4FARROzVfNqjF9oCq +xRPoVUeNDjMVw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrieefgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Feb 2022 15:25:52 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id EBCAE2A0C76; Fri, 11 Feb 2022 17:25:49 -0300 (-03) Date: Fri, 11 Feb 2022 17:25:49 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: pgsql-hackers@lists.postgresql.org, Simon Riggs , Tomas Vondra , Zhihong Yu , Daniel Westermann , Amit Langote , Japin Li , Erik Rijkers , Jaime Casanova Subject: Re: support for MERGE Message-ID: <202202112025.zbeoj2u5tclj@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220211185149.GG31460@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Feb-11, Justin Pryzby wrote: > Because I put your patch on top of some other branch with the CI coverage (and > other stuff). Ah, that makes sense. > But it has to figure out where the branch "starts". Which I did by looking at > "git diff --cherry-pick origin..." > > I'm not sure git diff --cherry-pick is widely known/used, but I think > using that relative to master may be good enough. I had never heard of git diff --cherry-pick, and the manpages I found don't document it, so frankly I doubt it's known. I still have no idea what does it do. I suppose there is an obvious reason why using git diff with $(git merge-base ...) as one of the arguments doesn't work for these purposes. > Andres thinks that does the wrong thing if CI is run manually (not by CFBOT) > for patches against backbranches. I wonder if it's sufficient to handle these things (coverage specifically) for branch master only. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "Uno puede defenderse de los ataques; contra los elogios se esta indefenso"