Re: pg_stats and range statistics
| От | Tomas Vondra |
|---|---|
| Тема | Re: pg_stats and range statistics |
| Дата | |
| Msg-id | 55c8ecd4-57d0-5c63-6fe3-1b81e8caea9d@enterprisedb.com обсуждение исходный текст |
| Ответ на | pg_stats and range statistics (Egor Rogov <e.rogov@postgrespro.ru>) |
| Ответы |
Re: pg_stats and range statistics
|
| Список | pgsql-hackers |
On 6/18/21 6:22 PM, Egor Rogov wrote: > Hi, > > Statistics for range types are not currently exposed in pg_stats view > (i.e. STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM and > STATISTIC_KIND_BOUNDS_HISTOGRAM). > > Shouldn't they? If so, here is a patch for adding them. > I think they should be exposed - I don't see why not to do that. I noticed this when working on the count-min sketch experiment too, so thanks for this patch. FWIW I've added the patch to the next CF: https://commitfest.postgresql.org/33/3184/ regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: