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 1uLznk-0003JU-Rh for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Jun 2025 07:41:45 +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 1uLzdr-008Hbi-26 for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Jun 2025 07:31:31 +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 1uLzdq-008HbZ-6y for pgsql-hackers@lists.postgresql.org; Mon, 02 Jun 2025 07:31:30 +0000 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uLzdo-0019hm-0Q for pgsql-hackers@lists.postgresql.org; Mon, 02 Jun 2025 07:31:29 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 0AB3F1140100; Mon, 2 Jun 2025 03:31:27 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 02 Jun 2025 03:31:27 -0400 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=fm3; t=1748849486; x=1748935886; bh=lfdMZ4DeTNoulUd0YBv3wxMppirkV6sd lOmjPko6ogc=; b=SfAW7EVHS2B9F+9ezizx7t3mPdtIx+7SrHRMmohPa1G7mmHI ajtfaKXNif367DcpzNK+jh7JWat4FdqPRET6CP+Vgy9bkrEp7Qq9XZNDkTcVJQaM qL4784A8lPi+8x4FrYnsYKd9E70zbkHIvvHJ2hJ57dnF3NW6sw2/qP+Rfowbu3oX aEqRglC5gOKdxVZN7oVZgMWg4p6qtFIBaomllEHtEZrpAXRV+ho6nnbSkQ1tBqLr eWfGwf/XThL1+EvUFTh/CT9NKSCxe+zDb+7ARvekz8wGqXakxrA2TbLOnsaRWllU DqPoH3QRYfoO6CeDb8+Trk/a49GxWRHE+FAv2w== 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=fm1; t=1748849486; x= 1748935886; bh=lfdMZ4DeTNoulUd0YBv3wxMppirkV6sdlOmjPko6ogc=; b=D UmVUaz0+MN3oy/JNtFjrrzPYoTuN3fjuMyKYTkvawaV8VrAQyVxXBvSK4CYuqFA2 K9GRwoVCRMCXwdACjkLICgLb6o5LRAVU0z12OD5nHU1Gn4dtcBzmFw6NhmWnZE44 4Qk3zF3mo1IHdMwOkXIWzE+JEkUc31zTm+PsF87X3Zd27qK3HiIj5fW5C4k4Wjhn bAmysoQCgcDmZhUywkSaSAiSjcQ/JE1qYOrDZJYmUHzBMCHHq9uaq8n8KDzkqSmG ByyAiFRhx+MPQ2oj2TqueTCeRG7IdU4jkbnGas5b2zwdEfl1AEGFCGhLCXN8gzhr utP3WGOhBbZSL8RdSjIVA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdefjedtjeculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfev fhfhjggtgfesthekredttddvjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruh htuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenucggtffrrghtthgvrhhn peejhfevhedttefgfffhhfeffefggffhffelgfeiueeukeehvdehvdefheffvdefueenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghr segvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohepvddpmhhouggvpehsmh htphhouhhtpdhrtghpthhtohepphhjsehilhhluhhmihhnrghtvggutghomhhpuhhtihhn ghdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpoh hsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Jun 2025 03:31:25 -0400 (EDT) Message-ID: Date: Mon, 2 Jun 2025 09:31:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: SQL:2011 application time To: Paul A Jungwirth Cc: PostgreSQL Hackers References: <30dc3561-d7ab-42be-a1c5-096643423590@illuminatedcomputing.com> <73d09e24-b6b9-4c89-8c0a-8842ca0f81f9@illuminatedcomputing.com> <081aa43c-3a97-4bd5-a498-ba02e0a7570d@illuminatedcomputing.com> <54390149-11d6-4f52-bbe8-f69832ceb3bd@eisentraut.org> <37ebb1d9-9036-485f-a215-e55435689917@eisentraut.org> 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 26.05.25 23:18, Paul A Jungwirth wrote: > On Sun, May 25, 2025 at 10:57 PM Peter Eisentraut wrote: >> Here we added a gist support function that we internally refer to by the >> symbol GIST_STRATNUM_PROC. This translated from "well-known" strategy >> numbers to opfamily-specific strategy numbers. However, we later >> changed this to fit into index-AM-level compare type mapping, so this >> function actually now maps from compare type to opfamily-specific >> strategy numbers. So I'm wondering if this name is still good. >> >> Moreover, the index AM level also supports the opposite, a function to >> map from strategy number to compare type. This is currently not >> supported in gist, but one might wonder what this function is supposed >> to be called when it is added. >> >> So I went through and updated the naming of the gist-level functionality >> to be more in line with the index-AM-level functionality; see attached >> patch. I think this makes sense because these are essentially the same >> thing on different levels. What do you think? (This would be for PG18.) > > I agree this rename makes sense. > > Here do we want to say "respective operator class" instead of > "respective operator family"? Or "operator class/family"? Technically > btree_gist attaches it to the whole opfamily, but that's only because > there is no appropriate ALTER OPERATOR CLASS functionality: Thanks, I have committed it as is. The function is part of the operator family; I guess there could be different interpretations about why that is so, but I think this would introduce more confusion if we somehow talked about operator classes in this context.