Re: width_bucket function for timestamps - Mailing list pgsql-hackers

From Neil Conway
Subject Re: width_bucket function for timestamps
Date
Msg-id 1160434672.5716.10.camel@localhost.localdomain
Whole thread Raw
In response to Re: width_bucket function for timestamps  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: width_bucket function for timestamps  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 2006-10-09 at 12:02 -0400, Tom Lane wrote:
> It's not clear to me why we have width_bucket operating on numeric and
> not float8

I asked about this when I originally implemented width_bucket(), I
recall[1]. At the time, there was scepticism about whether it was even
worth implementing width_bucket(), let alone providing multiple
implementations of it. I'd be happy to provide a float8 implementation
(I may even have one lying around somewhere...)

-Neil

[1] http://archives.postgresql.org/pgsql-patches/2004-04/msg00259.php



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: width_bucket function for timestamps
Next
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Revise psql pattern-matching switches