pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: eric.mutta@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Should 'sum(mvf)' read 'sum(mcv)'...?
Date: Mon, 22 Aug 2022 08:58:31 -0400
Message-ID: <255694.1661173111@sss.pgh.pa.us> (raw)
In-Reply-To: <20220822074837.dy4i5t7n5xmbhjbw@jrouhaud>
References: <166112292492.654.5377188452604176150@wrigleys.postgresql.org>
	<20220822074837.dy4i5t7n5xmbhjbw@jrouhaud>

Julien Rouhaud <rjuju123@gmail.com> 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))" portion
>> 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





view thread (9+ messages)  latest in thread

Message-ID: <255694.1661173111@sss.pgh.pa.us>
Permalink:  ../255694.1661173111@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/255694.1661173111@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, rjuju123@gmail.com, daniel@yesql.se, eric.mutta@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Should 'sum(mvf)' read 'sum(mcv)'...?
  In-Reply-To: <255694.1661173111@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox