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 1r4zBN-00BGWN-SR for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Nov 2023 07:59:01 +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 1r4zBM-006TyO-3C for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Nov 2023 07:59:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r4zBL-006TyG-PQ for pgsql-hackers@lists.postgresql.org; Mon, 20 Nov 2023 07:58:59 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r4zBJ-007NqI-Qz for pgsql-hackers@lists.postgresql.org; Mon, 20 Nov 2023 07:58:59 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BE3925C0144; Mon, 20 Nov 2023 02:58:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 20 Nov 2023 02:58:56 -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:sender:subject:subject:to:to; s=fm3; t=1700467136; x=1700553536; bh=JufHJ4HACsMkuEgL4Wt8f8yIi 2PLEcnkv1Ppf/4dnLg=; b=dwIGzf/ONYE6t7tREWEfKGjVz+mnpfUJ38kU2xAb3 K9i8CKo/VExy05v4nFx41Xi4XtD10BOrZ1qW6VWQHPpXVU0ecOlxk0I0d82nP8zz r1zwr21K6cLlLujihR5sXkan4FtXrNemsAQUZZ25LT6PkJXLeBzdWX3S6PzQq6K7 ifXzkDgyh1Q8IMzkLTSNbiqTN7ob2nlmHMS/zjapybMJo1k93dI+zZLGNJGyn4YJ ytTg1VMCJSPa3g0epUV+DgQecW5snLtRdShJ6SldTmbVnAMywojyLiJa5linwdFY hkYvcNRf9N6lF6/xKapX1/5DCyt9c1jFwrVbmDC5yXcCw== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1700467136; x=1700553536; bh=JufHJ4HACsMkuEgL4Wt8f8yIi2PLEcnkv1P pf/4dnLg=; b=WYDSySrT6L5jm7LG+oPLPinoqlbiCTBcvnlQ5W9W25pj71UNObZ kN+r05ecHlIKC8VxOteyluVfLuA00+s0ye0upEAAaIT6RZRR23xZkL75XsGlDa9A pVsbxxBgBIQLc9G70w/T0ThWrTHX3L/siEuieBVaHI2kjLFzNjYpXwAAmwpleSWS I0kMTK2VNAx2kmCtt+g1bFAsxhK97lZJfUR9Ket13acCQVTXYOzkoVzKOS5r+hDn kmpU9wgpTdKH9rAjNqPMlXPTBNQOG737NYzGxu1skOGY/yLDYlJG1bbnvPWI9Drp ouLeK5uSXEhLPKgTPSob/2nC7kdVwDdzD0A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeghedguddugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorh hgqeenucggtffrrghtthgvrhhnpeeljedtudfggffffefhieetfeehtedukeejuedtlefh gefgffdujeehueefudffkeenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgv rhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Nov 2023 02:58:55 -0500 (EST) Message-ID: Date: Mon, 20 Nov 2023 08:58:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: SQL:2011 application time Content-Language: en-US To: Paul Jungwirth , jian he Cc: PostgreSQL Hackers References: <5157e85a-6007-27a7-853a-5601d9c3722f@illuminatedcomputing.com> <5a16a59a-d497-7d72-07aa-0afc09d5193a@illuminatedcomputing.com> <2d9740ad-3bb7-473c-8441-344351caa8ee@illuminatedcomputing.com> From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 17.11.23 19:39, Paul Jungwirth wrote: > But I feel the overall approach is wrong: originally I used hardcoded > "=" and "&&" operators, and you asked me to look them up by strategy > number instead. But that leads to trouble with core gist types vs > btree_gist types. The core gist opclasses use RT*StrategyNumbers, but > btree_gist creates opclasses with BT*StrategyNumbers. Ouch. That also provides the answer to my question #2 here: https://www.postgresql.org/message-id/6f010a6e-8e20-658b-dc05-dc9033a694da%40eisentraut.org I don't have a good idea about this right now. Could we just change btree_gist perhaps? Do we need a new API for this somewhere?