Re: Stats for inheritance trees

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2010-01-05T18:09:46Z
Lists: pgsql-hackers
On Tue, Jan 5, 2010 at 1:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Another option would be to call it "inherits_ndistinct", or something
>> like that, which seems a little more readable, but not great: I don't
>> think there's going to be any getting around the need to RTFM before
>> setting these parameters.
>
> Well, the previously agreed-to syntax was SET STATISTICS DISTINCT.
> I don't see a problem with using "distinct" and "inherited_distinct"
> or something like that.  "ndistinct" is probably not a good name to
> expose to non-programmers.

I like ndistinct because it makes the whole thing sound related to
statistics, which it is.  But I'll do it your way unless there are
other votes.

...Robert