Re: list of extended statistics on psql

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Tatsuro Yamada <tatsuro(dot)yamada(dot)tf(at)nttcom(dot)co(dot)jp>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: list of extended statistics on psql
Date: 2020-10-28 19:07:04
Message-ID: 20201028190704.uqyh6favcmkxxewk@development
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wed, Oct 28, 2020 at 04:20:25PM +0900, Tatsuro Yamada wrote:
>>Results of \dX and \dX+:
>>postgres=# \dX
>>                             List of extended statistics
>>     Schema    |   Name    |   Definition    | N_distinct | Dependencies |   Mcv
>>   public      | hoge1_ext | a, b FROM hoge1 | defined    | defined      | defined
>>   hoge1schema | hoge1_ext | a, b FROM hoge1 | built      | built        | built
>>(2 rows)
>I used "Order by 1, 2" on the query but I realized the ordering of
>result was wrong so I fixed on the attached patch.
>Please fined the patch file. :-D

Thanks. I'll take a look at the beginning of the 2020-11 commitfest, and
I hope to get this committed.


Tomas Vondra
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2020-10-28 19:07:52 Re: Add important info about ANALYZE after create Functional Index
Previous Message Tomas Vondra 2020-10-28 19:06:01 Re: list of extended statistics on psql