Re: Stats for inheritance trees - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Stats for inheritance trees
Date
Msg-id 12626.1262715611@sss.pgh.pa.us
Whole thread Raw
In response to Re: Stats for inheritance trees  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Stats for inheritance trees
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> It's probably also worth noting that the reason I used DISTINCT
> originally is because it's already a keyword.

True.

It occurs to me that the pg_stats view already exposes "n_distinct"
as a column name.  I wouldn't object to using "n_distinct" and
"n_distinct_inherited" or some such.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Stats for inheritance trees
Next
From: Robert Haas
Date:
Subject: Re: Stats for inheritance trees