Re: v13: show extended stats target in \d

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Georgios Kokolatos <gkokolatos(at)protonmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: v13: show extended stats target in \d
Date: 2020-09-09 23:07:00
Message-ID: 20200909230700.GZ18552@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 09, 2020 at 07:22:30PM -0300, Alvaro Herrera wrote:
> On 2020-Sep-09, Justin Pryzby wrote:
>
> > As for the discussion about a separator, I think maybe a comma is enough. I
> > doubt anyone is going to think that you can get a valid command by prefixing
> > this by "CREATE STATISTICS". Actually, it didn't even occur to me it was valid
> > command without the stats target - after all, that's not true of indexes.
>
> By the way, I got into this because of your comment in
> https://postgr.es/m/20200901011429.GZ5450@telsasoft.com on whether we
> needed CREATE STATISTICS to have a clause for this.

And I agree that it does not - the question was raised during development of
the feature, and nobody sees a need. I asked since I didn't know and I didn't
want it to be missed for lack of asking.

--
Justin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-09-09 23:24:55 Re: SIGQUIT handling, redux
Previous Message Thomas Munro 2020-09-09 22:39:56 Re: Optimising compactify_tuples()