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 1qivyd-008Uet-LO for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Sep 2023 12:06:44 +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 1qivyb-00Gt3C-0q for pgsql-hackers@arkaria.postgresql.org; Wed, 20 Sep 2023 12:06:41 +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 1qivya-00Gt30-IV for pgsql-hackers@lists.postgresql.org; Wed, 20 Sep 2023 12:06:40 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by magus.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qivyW-006JU4-Qp for pgsql-hackers@postgresql.org; Wed, 20 Sep 2023 12:06:39 +0000 Received: from [10.4.13.65] (unknown [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: a.rybakina@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 89A08E20E97; Wed, 20 Sep 2023 15:06:35 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1695211595; bh=oeQyr77lFRVnUTR961ICzhIyMwR+4ddyMvgzTp7GfE0=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=E/mHIP6fy+Eon8yKEBeXy8QwjfHeUgCSg39eBFC6HyfU05TlJCqN/rzTcsiTkRTRj /Kp51BagJffFisHtefj7qGhUSFgidsgUn5JWmIT/MflKzeNPkTbcZfBNoSwPS16Gfw PM8gUHnIzwwXGEeIpAmDDYQSWc7NSVmbL6U/XqwTM8Y0p+TU2YkTDFMeWjs6MbzoRC 63zlB8KJyz+ecWbayhV4NfOUZNpA/5kJ6Cxd3QRavYEJZuZThQVBN7JJQEI6N96pPe v7eW+6LejUYqmK2TP44V+wXr8wJS852O+lJttGZwThBtyNTqLveOjgILM5aMnpdevZ 0IkpWN6fhug/A== Message-ID: Date: Wed, 20 Sep 2023 15:06:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: POC, WIP: OR-clause support for indexes To: Peter Eisentraut Cc: "Finnerty, Jim" , Marcos Pegoraro , Andrey Lepikhov , pgsql-hackers@postgresql.org, teodor@sigaev.ru, Ranier Vilela , Tomas Vondra , Peter Geoghegan References: <567ED6CA.2040504@sigaev.ru> <9ea35f18-419d-efb7-b7c8-2e641a61f020@yandex.ru> <08f5ff34-1497-2123-8701-461a299035c9@yandex.ru> <8d714510-af73-a908-99c8-fc14536f2669@yandex.ru> <4bac271d-1700-db24-74ac-8414f2baf9fd@postgrespro.ru> Content-Language: en-US From: "a.rybakina" 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 Hi! When I sent the patch version to commitfest, I thought that the work on this topic was completed. Patch version and test results in [0]. But in the process of discussing this patch, we found out that there is another place where you can make a transformation, specifically, during the calculation of selectivity. I implemented the raw version [1], but unfortunately it didn't work in regression tests. I'm sorry that I didn't write about the status earlier, I was very overwhelmed with tasks at work due to releases and preparations for the conference. I returned to the work of this patch, today or tomorrow I'll drop the version. [0] https://www.postgresql.org/message-id/4bac271d-1700-db24-74ac-8414f2baf9fd%40postgrespro.ru https://www.postgresql.org/message-id/11403645-b342-c400-859e-47d0f41ec22a%40postgrespro.ru [1] https://www.postgresql.org/message-id/b301dce1-09fd-72b1-834a-527ca428db5e%40yandex.ru On 20.09.2023 12:37, Peter Eisentraut wrote: > On 29.08.23 05:37, a.rybakina wrote: >> Thank you for your interest in this problem and help, and I'm sorry >> that I didn't respond to this email for a long time. To be honest, I >> wanted to investigate the problems in more detail and already answer >> more clearly, but unfortunately I have not found anything more >> significant yet. > > What is the status of this patch?  It is registered in the commitfest. > It looks like a stalled research project?  The last posted patch > doesn't contain any description or tests, so it doesn't look very ready. >