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 1qEcyz-0001Vo-2l for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jun 2023 21:45:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qEcyx-0001Go-9B for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jun 2023 21:45:47 +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 1qEcyw-0001Ge-Va for pgsql-hackers@lists.postgresql.org; Wed, 28 Jun 2023 21:45:47 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qEcyp-0012jp-3P for pgsql-hackers@postgresql.org; Wed, 28 Jun 2023 21:45:45 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fbac9dd8ebso73145e9.1 for ; Wed, 28 Jun 2023 14:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1687988738; x=1690580738; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=nfk9Ebd6iT0hozQ4OGV/JD5yMijQ6iVJTFhCe/RXI3k=; b=ZAD0NaIGJ5jEjxi8Apa/1GRnucBmZ9p33VcHhFFdz8dHGjJ961BiYmLfzCirbj208b Vhd1GGx5TbvxJbciCfbpyZ3sVV6zHU8B3hvuK5NWE0uNNDyu/9bKyQn6i1y7SiJU+sY2 NWo+akIycmoFEQqTd2QD+IOCt/+6l3P3lqpSYVfnCn2sTKA01Jb2i342/wPa1o9q6CUF 945aKf7Ou6FzYecCqc0mq2UsZXLPRLyi/6k4VQ1diukusB98mELFjxtMAwDvB/5tCcX8 Cs6Eub9224qFQ+FrbJH9Mf9FJldtkGBJm8gO5u5aje/5UjbDCvHHxIWsHApr/rRoqrr4 2Y0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687988738; x=1690580738; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nfk9Ebd6iT0hozQ4OGV/JD5yMijQ6iVJTFhCe/RXI3k=; b=ADVf2yXbfM7WGZe6Wz2wSCokHaCi4VUjJGl8FzKBX1TvrZ2WuvClDNGxNrZkdCefrl PFvmaMYG7pfADI84Exoaw25NJNn6kmaS9iUuIxd+LZfc0RtL2VYO/ult/W37Z/owlkri R0JazAk5iLer2cpdASh9IhxlF2PK/SWiCgbqjH23sC7mgJeFBZ5tAkytYi5trOsjWQyF Up3mPhTyXCrGhbWOFFOzRdD3R3Ota2q0mnmWEGPsTkDe2CaSClE74ALwd00CPwekCy9G kghzByAUYQRTPZgdqloLy1mhjfeZ1pD1sx/MvggbpMsahQWPOLUzk9TQaeGmC0T7LXOh T8LA== X-Gm-Message-State: AC+VfDx8sDMWostofRKgnYJZO4jLUD+qOi5Kf5EuW5fQi1hXxuwdh6RF MNmvmnu1mIROS6+Z/JrhH72vqQ== X-Google-Smtp-Source: ACHHUZ593DBi6+kZLW62RjWPS5l4vDF5GdFHeiUAHhfUr6M6kGUW3Bry55rIhYCl7t+RNrrfEBvopg== X-Received: by 2002:a7b:ce0b:0:b0:3f9:b7cc:723 with SMTP id m11-20020a7bce0b000000b003f9b7cc0723mr18453304wmc.21.1687988737972; Wed, 28 Jun 2023 14:45:37 -0700 (PDT) Received: from [10.137.0.17] (ip-86-49-228-220.bb.vodafone.cz. [86.49.228.220]) by smtp.gmail.com with ESMTPSA id s24-20020a7bc398000000b003fb9ebb6b88sm6491949wmj.39.2023.06.28.14.45.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Jun 2023 14:45:37 -0700 (PDT) Message-ID: Date: Wed, 28 Jun 2023 23:45:36 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: POC, WIP: OR-clause support for indexes Content-Language: en-US To: Ranier Vilela , Pg Hackers Cc: "Lena.ribackina@yandex.ru" , Marcos Pegoraro References: From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/27/23 20:55, Ranier Vilela wrote: > Hi, > >>I finished writing the code patch for transformation "Or" expressions to >>"Any" expressions. I didn't see any problems in regression tests, even >>when I changed the constant at which the minimum or expression is >>replaced by any at 0. I ran my patch on sqlancer and so far the code has >>never fallen. > Thanks for working on this. > > I took the liberty of making some modifications to the patch. > I didn't compile or test it. > Please feel free to use them. > I don't want to be rude, but this doesn't seem very helpful. - You made some changes, but you don't even attempt to explain what you changed or why you changed it. - You haven't even tried to compile the code, nor tested it. If it happens to compile, wow could others even know it actually behaves the way you wanted? - You responded in a way that breaks the original thread, so it's not clear which message you're responding to. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company