Re: width_bucket function for timestamps

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeremy Drake <pgsql(at)jdrake(dot)com>
Cc: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: width_bucket function for timestamps
Date: 2006-10-09 22:12:08
Message-ID: 9427.1160431928@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeremy Drake <pgsql(at)jdrake(dot)com> writes:
> I found the function I used before I implemented the C version. It was
> significantly slower, which is why I wrote the C version.

I would imagine that most of the problem is the NUMERIC arithmetic
that's doing.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2006-10-09 22:57:52 Re: width_bucket function for timestamps
Previous Message Josh Berkus 2006-10-09 22:09:00 Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char)