Re: pg_stats avg_width and null_frac - Mailing list pgsql-general

From David G. Johnston
Subject Re: pg_stats avg_width and null_frac
Date
Msg-id CAKFQuwbxXumnVw7Njb07-PO8v9U4SkocwqUL5SN9VacwDJCgCQ@mail.gmail.com
Whole thread Raw
In response to pg_stats avg_width and null_frac  (Paul McGarry <paul@paulmcgarry.com>)
List pgsql-general
On Tue, Jun 5, 2018 at 5:49 PM, Paul McGarry <paul@paulmcgarry.com> wrote:
Can anyone confirm that the "avg_width" reported in the pg_stats is the avg_width not including any null rows?

​Yes.


It actually is documented but only on the underlying catalog, not the view.

David J.

pgsql-general by date:

Previous
From: Paul McGarry
Date:
Subject: pg_stats avg_width and null_frac
Next
From: Alexandre Arruda
Date:
Subject: Re: ERROR: found multixact from before relminmxid