Re: Export user visible function to make use of convert_to_scalar - Mailing list pgsql-patches

From Tom Lane
Subject Re: Export user visible function to make use of convert_to_scalar
Date
Msg-id 26891.1185903066@sss.pgh.pa.us
Whole thread Raw
In response to Re: Export user visible function to make use of convert_to_scalar  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: Export user visible function to make use of convert_to_scalar
List pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>> When complaining I hadn't read the pghackers thread in which you
>> suggested this, and now that I'm caught up on email I remain
>> unconvinced.  What do you need convert_to_scalar for in order to display
>> the pg_statistic histogram?  You've already got the underlying data.

> Then the charting tool would have to duplicate all the same code that
> convert_to_scalar has to figure out what to do with the data.

How so?  The entries in the histogram are equidistant by definition.

            regards, tom lane

pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Export user visible function to make use of convert_to_scalar
Next
From: Gregory Stark
Date:
Subject: Re: Export user visible function to make use of convert_to_scalar