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 1uA7lP-00AznD-LR for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Apr 2025 13:46:16 +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 1uA7lL-00EAFU-Om for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Apr 2025 13:46:12 +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.94.2) (envelope-from ) id 1uA7lL-00EAFM-FF for pgsql-hackers@lists.postgresql.org; Wed, 30 Apr 2025 13:46:12 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uA7lK-000MGo-1y for pgsql-hackers@lists.postgresql.org; Wed, 30 Apr 2025 13:46:11 +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 53UDk7JL1284443; Wed, 30 Apr 2025 09:46:08 -0400 From: Tom Lane To: =?utf-8?Q?=C3=81lvaro?= Herrera cc: pgsql-hackers@lists.postgresql.org Subject: Re: Accounting for metapages in genericcostestimate() In-reply-to: <202504301047.ek6tfqtkoz32@alvherre.pgsql> References: <202504301047.ek6tfqtkoz32@alvherre.pgsql> Comments: In-reply-to =?utf-8?Q?=C3=81lvaro?= Herrera message dated "Wed, 30 Apr 2025 12:47:51 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1284441.1746020767.1@sss.pgh.pa.us> Date: Wed, 30 Apr 2025 09:46:07 -0400 Message-ID: <1284442.1746020767@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =?utf-8?Q?=C3=81lvaro?= Herrera writes: > On 2025-Apr-28, Tom Lane wrote: >> + BlockNumber numNonLeafPages; /* # of index pages that are not leafs */ > I find the use of "leafs" as plural for "leaf" a bit strange ... > We already have uses of that word, but I wonder if they don't mostly > or exclusively come from non-native English speakers. Yeah, "leaves" would be correct, but I wondered whether that'd confuse non-native speakers more. Happy to change it though. regards, tom lane