Re: list of extended statistics on psql - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: list of extended statistics on psql
Date
Msg-id 20201028190704.uqyh6favcmkxxewk@development
Whole thread Raw
In response to Re: list of extended statistics on psql  (Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>)
Responses Re: list of extended statistics on psql  (Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>)
List pgsql-hackers
On Wed, Oct 28, 2020 at 04:20:25PM +0900, Tatsuro Yamada wrote:
>Hi,
>
>>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.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: list of extended statistics on psql
Next
From: "David G. Johnston"
Date:
Subject: Re: Add important info about ANALYZE after create Functional Index