Re: Show a human-readable n_distinct in pg_stats view

2019-03-15 Thread Laurenz Albe
Maxence Ahlouche wrote: > It seems to me that since the pg_stats view is supposed to be > human-readable, it would make sense to show a human-readable version > of n_distinct. > Currently, when the stats collector estimates that the number of > distinct values is more than 10% of the total row coun

Re: Show a human-readable n_distinct in pg_stats view

2019-03-15 Thread Maxence Ahlouche
On Wed, 13 Mar 2019 at 15:14, Maxence Ahlouche wrote: > * Should I add this patch to the commitfest? I added it: https://commitfest.postgresql.org/23/2061/

Show a human-readable n_distinct in pg_stats view

2019-03-13 Thread Maxence Ahlouche
Hi, It seems to me that since the pg_stats view is supposed to be human-readable, it would make sense to show a human-readable version of n_distinct. Currently, when the stats collector estimates that the number of distinct values is more than 10% of the total row count, what is stored in pg_stati