Re: CREATE STATISTICS statistic_type documentation

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE STATISTICS statistic_type documentation
Date: 2017-05-25 17:13:58
Message-ID: 20170525171358.wr77iagejpb2ayae@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
> > On Thu, May 25, 2017 at 9:28 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> > If we invent more types in the future, would we expect those to be
> > defaulted to as well?
>
> I might be wrong, but my impression is that the plan is to default
> to gathering all possible stats types. So I'd probably write the
> addendum that way rather than naming those two types specifically.

Yes -- that plan has been hardcoded in ruleutils.c.

I'll patch.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2017-05-25 18:19:37 Renaming a table to an array's autogenerated name
Previous Message Konstantin Knizhnik 2017-05-25 17:10:46 Re: Surjective functional indexes