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.96) (envelope-from ) id 1wh7IF-0000rF-28 for pgsql-docs@arkaria.postgresql.org; Tue, 07 Jul 2026 15:01:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wh7ID-001B4C-30 for pgsql-docs@arkaria.postgresql.org; Tue, 07 Jul 2026 15:01:02 +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.96) (envelope-from ) id 1wh7ID-001B44-2I for pgsql-docs@lists.postgresql.org; Tue, 07 Jul 2026 15:01:02 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wh7IC-000000002TR-1Nci for pgsql-docs@lists.postgresql.org; Tue, 07 Jul 2026 15:01:01 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 445EE648D4C for ; Tue, 07 Jul 2026 17:00:57 +0200 (CEST) Received: from s979.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 2ECA0648B37; Tue, 07 Jul 2026 17:00:57 +0200 (CEST) Received: from localhost (unknown [172.22.191.6]) by s979.loopia.se (Postfix) with ESMTP id 2CD3C10BC568; Tue, 07 Jul 2026 17:00:57 +0200 (CEST) X-Virus-Scanned: amavis at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s470.loopia.se (amavis); dkim=pass (2048-bit key) header.d=yesql.se Received: from s899.loopia.se ([172.22.191.6]) by localhost (s470.loopia.se [172.22.190.34]) (amavis, port 10024) with UTF8LMTP id Jclna2cQfXmW; Tue, 7 Jul 2026 17:00:56 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.236 Received: from smtpclient.apple (customer-89-255-232-236.stosn.net [89.255.232.236]) (Authenticated sender: daniel@yesql.se) by s899.loopia.se (Postfix) with ESMTPSA id AF5992C8BB8E; Tue, 07 Jul 2026 17:00:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1783436456; bh=Onr5uXU3TmNK2rre3gXnig8qwuI9g43krgyHRHehsOs=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=pazz7P/fmORjEfJofmFLZGw2W5KhFaRT5dKxsnYcVEQR1vJNJrplaCZso3Hzi9/ID 9vyKvIZQf3lznrXCzFbVnyW/V+iIXXjd5Fna+Q7ppydGy/zCmQ0hZv8SlnNcnkO3Qc MHsPAE+NatRnY4v43yefbB/3/MERLNFPAk3XSyhEGaDiXfWRzKKPVaD/3IlYOq+YwR nvGHViNvEmGEffY8mSda9P9hBHiivbtJfIYlPtzZEVLm/NbWFrARMF2IE0vNEhn/WY O7BrIrlDbnFA7bjolPhkFg51DTKRASfGNVNd70SHaRv+2W2v+uyMq8j5rmskoGvuvr pjF/LeKH1WQHA== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.12\)) Subject: Re: Check query From: Daniel Gustafsson In-Reply-To: Date: Tue, 7 Jul 2026 17:00:46 +0200 Cc: "David G. Johnston" , "y.saburov@gmail.com" , "pgsql-docs@lists.postgresql.org" Content-Transfer-Encoding: 7bit Message-Id: <7413F6ED-B234-4C0A-93A5-50CD4372325E@yesql.se> References: <178248467618.108999.9966122434342474006@wrigleys.postgresql.org> To: Fujii Masao X-Mailer: Apple Mail (2.3776.700.51.11.12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 7 Jul 2026, at 02:52, Fujii Masao wrote: > Yes. Very old commit dcb00495236 seems to have accidentally changed > the condition to > 2 while rewriting the example to use SQL operator > notation. > > The attached patch changes it from > 2 to >= 2. > Barring any objections, I'll backpatch it to all supported branches. LGTM. I reviewed the referenced commit to see if there were other similar mistakes but found none. -- Daniel Gustafsson