Re: [HACKERS] CREATE STATISTICS statistic_type documentation - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] CREATE STATISTICS statistic_type documentation
Date
Msg-id 20170525171358.wr77iagejpb2ayae@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] CREATE STATISTICS statistic_type documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
> > On Thu, May 25, 2017 at 9:28 AM, Tom Lane <tgl@sss.pgh.pa.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



pgsql-hackers by date:

Previous
From: Konstantin Knizhnik
Date:
Subject: Re: [HACKERS] Surjective functional indexes
Next
From: Vik Fearing
Date:
Subject: [HACKERS] Renaming a table to an array's autogenerated name