"Robert Haas" <robertmhaas@gmail.com> writes:
> On Thu, Dec 11, 2008 at 5:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Simon Riggs <simon@2ndQuadrant.com> writes:
>>> I would like it even more if there was a data type specific default.
>>> Currently we have a special case for boolean, but that's it.
>>
>> No, we don't (or if we do I'd be interested to know where).
> utils/adt/selfuncs.c, get_variable_numdistinct
That's got nothing to do with stats collection; it's a fallback case
used if no stats are available.
regards, tom lane