Re: v13: show extended stats target in \d

Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>

From: Tatsuro Yamada <tatsuro.yamada.tf@nttcom.co.jp>
To: Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Date: 2020-09-01T01:37:49Z
Lists: pgsql-hackers
Hi Justin,

On 2020/08/31 14:00, Justin Pryzby wrote:
> The stats target can be set since commit d06215d03, but wasn't shown by psql.
>   ALTER STATISISTICS .. SET STATISTICS n.
> 
> Normal (1-D) stats targets are shown in \d+ table.
> Stats objects are shown in \d (no plus).
> Arguably, this should be shown only in "verbose" mode (\d+).

I tested your patch on 13beta3 and head (ab3c6d41).
It looks good to me. :-D

Thanks,
Tatsuro Yamada




Commits

  1. psql: Display stats target of extended statistics

  2. Allow setting statistics target for extended statistics