Re: Export user visible function to make use of convert_to_scalar

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Export user visible function to make use of convert_to_scalar
Date: 2007-07-31 17:31:06
Message-ID: 26891.1185903066@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2007-07-31 18:52:39 Re: [PATCHES] allow CSV quote in NULL
Previous Message Gregory Stark 2007-07-31 17:28:25 Re: Export user visible function to make use of convert_to_scalar