Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYBf6-005PG2-QJ for pgsql-committers@arkaria.postgresql.org; Wed, 15 Jan 2025 22:14:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tYBf5-000oRb-HR for pgsql-committers@arkaria.postgresql.org; Wed, 15 Jan 2025 22:14:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tYBf5-000oRT-AP for pgsql-committers@lists.postgresql.org; Wed, 15 Jan 2025 22:14:55 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tYBf4-000bVu-1K for pgsql-committers@lists.postgresql.org; Wed, 15 Jan 2025 22:14:54 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 0DF1C2540112; Wed, 15 Jan 2025 17:14:53 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 15 Jan 2025 17:14:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1736979292; x=1737065692; bh=RjyqteKBuBuNew3DNg8Ejwp60C8REHKV a9LqWlNcpq8=; b=AseyfVSQbDm3DOqFl1/ACz0jXZqM+kE+IJ1xKaqzP6yupNVD ykvQcAthZ/2BMMT9tMYMN6Y0AkRkLJ1HO1cTfbTT5VaxSZ5dW9XwQ6ONp4eWTxBP 4kADvTRuIm3ZCjrHKUwLkMPOufhqDjvcS8jU7NXGlkRRA4ydCnjmptO5w4iEhc7d UbaibrIQvuiZFxRFTN7bFJsoQzvPbFHG7wrYB7WgKmodU93Bitkxj8bDLi9IlAfn VHUoGLHB8/eLt/FXxGQcaWNNqyLLJcSOtwLAV9hVRvZBIrsF6Cor9tLmDwa569yt UC/apLr0P0sHKhl7LR/tEIwmxn9qdPRoJpdtNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736979292; x= 1737065692; bh=RjyqteKBuBuNew3DNg8Ejwp60C8REHKVa9LqWlNcpq8=; b=j Oj0JkrR8Tv5/qIN0q+/LIQ6dYl3mSo4stgDRG2Aa9vkDiDHuUCbCt4hpJV853bv4 Xv9R/LRkADxh8ADpTQm159gDybZYgl23GPObIQ9VWAs/PDDNeKIei36YUNy/WTgS BWEEwU5wmdVw9uX4laXg86b2SHEILBTzjLjSnA06lBhNVspnibE/S2VSECVktIlB s2Gz7Soz8rjG7T7yxh4Rfouz0It3W4oxx1S2Rh2+BkvV85RkmZj1T0edc5PO7Bjk KGgyMhP+pNBE2O3cWp1RqvSkcsF0XgjWVOa2grOzkZxrR0cBZZVMfSNJDzl8T485 E4JP2yFqTwxTWGl13CTIQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehledgudefvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddv jeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghish gvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhnpeejhfevhedttefgfffhhfef fefggffhffelgfeiueeukeehvdehvdefheffvdefueenucevlhhushhtvghrufhiiigvpe dunecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdr ohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoh epmhgvlhgrnhhivghplhgrghgvmhgrnhesghhmrghilhdrtghomhdprhgtphhtthhopehp ghhsqhhlqdgtohhmmhhithhtvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorh hg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Jan 2025 17:14:52 -0500 (EST) Message-ID: Date: Wed, 15 Jan 2025 23:14:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Change gist stratnum function to use CompareType To: Melanie Plageman Cc: pgsql-committers@lists.postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 15.01.25 22:36, Melanie Plageman wrote: > On Wed, Jan 15, 2025 at 5:41 AM Peter Eisentraut wrote: >> >> Change gist stratnum function to use CompareType >> >> This changes commit 7406ab623fe in that the gist strategy number >> mapping support function is changed to use the CompareType enum as >> input, instead of the "well-known" RT*StrategyNumber strategy numbers. >> >> This is a bit cleaner, since you are not dealing with two sets of >> strategy numbers. Also, this will enable us to subsume this system >> into a more general system of using CompareType to define operator >> semantics across index methods. > > This appears to fail the headers_cpluspluscheck job in CI [1] with > > /tmp/cirrus-ci-build/src/include/access/gist.h:251:63: error: use of > enum ‘CompareType’ without previous declaration > 251 | extern StrategyNumber GistTranslateStratnum(Oid opclass, enum > CompareType cmp); Fixed, thanks.