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 1t4LYn-0005Md-Ka for pgsql-docs@arkaria.postgresql.org; Fri, 25 Oct 2024 14:45:05 +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 1t4LYl-000Wyw-De for pgsql-docs@arkaria.postgresql.org; Fri, 25 Oct 2024 14:45:03 +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 1t4LYl-000Wyo-62 for pgsql-docs@lists.postgresql.org; Fri, 25 Oct 2024 14:45:03 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t4LYi-002vpa-Cw for pgsql-docs@lists.postgresql.org; Fri, 25 Oct 2024 14:45:02 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 49PEiuce2771919; Fri, 25 Oct 2024 10:44:56 -0400 From: Tom Lane To: fed.guman@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: Documentation mistake? In-reply-to: <172979304162.700.15063986195610426211@wrigleys.postgresql.org> References: <172979304162.700.15063986195610426211@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Thu, 24 Oct 2024 18:04:01 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <2771917.1729867496.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 25 Oct 2024 10:44:56 -0400 Message-ID: <2771918.1729867496@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > In page https://www.postgresql.org/docs/current/indexes-bitmap-scans.html > написано следующее: > "Another example is that if we have separate indexes on x and y, one > possible implementation of a query like WHERE x = 5 AND y = 6 is to use each > index with the appropriate query clause and then AND together the index > results to identify the result rows". > You mean "WHERE x = 5 OR y = 6"? No; the query says AND. Unioning the index results would be appropriate if it said OR, but that's a different topic. regards, tom lane