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 1oQ70q-0000Pk-3c for pgsql-docs@arkaria.postgresql.org; Mon, 22 Aug 2022 12:58:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQ70o-0007we-T5 for pgsql-docs@arkaria.postgresql.org; Mon, 22 Aug 2022 12:58:38 +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 1oQ70o-0007wL-LY for pgsql-docs@lists.postgresql.org; Mon, 22 Aug 2022 12:58:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ70l-0008H4-9s for pgsql-docs@lists.postgresql.org; Mon, 22 Aug 2022 12:58:37 +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 27MCwVRH255695; Mon, 22 Aug 2022 08:58:31 -0400 From: Tom Lane To: Julien Rouhaud cc: Daniel Gustafsson , eric.mutta@gmail.com, pgsql-docs@lists.postgresql.org Subject: Re: Should 'sum(mvf)' read 'sum(mcv)'...? In-reply-to: <20220822074837.dy4i5t7n5xmbhjbw@jrouhaud> References: <166112292492.654.5377188452604176150@wrigleys.postgresql.org> <20220822074837.dy4i5t7n5xmbhjbw@jrouhaud> Comments: In-reply-to Julien Rouhaud message dated "Mon, 22 Aug 2022 15:48:37 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <255693.1661173111.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Aug 2022 08:58:31 -0400 Message-ID: <255694.1661173111@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Julien Rouhaud writes: > On Sun, Aug 21, 2022 at 11:02:04PM +0000, PG Doc comments form wrote: >> It appears the above sentence is referring to the "(1 - sum(mvf))" port= ion >> of the formula, however I am not sure what "mvf" is referring to >> there...shouldn't it be "(1 - sum(mcv))" in order to match what the >> explanatory sentence is saying? > It should be mcf, ie. Most Common Frequencies. It looks like a very old= typo > that survived until now. I don't think it's a typo exactly, but an odd abbreviation for "Most common Values' Frequencies". (Summing the MCVs themselves isn't sensible; they might not even be numeric.) I'd vote for replacing mvf in both places with something a bit more spelled-out, perhaps "mcv_freqs". regards, tom lane