On Fri, May 4, 2012 at 12:41 PM, Armando
<armando.miraglia@stud-inf.unibz.it> wrote:
> Hi everybody.
>
> First of all I have to thank you for your wonderful job! PostgreSQL rocks!
>
> I am writing you because I am interested in understanding some specifics related
> to PostgreSQL internals. More precisely, I am investigating the running time
> of the different function implementation approaches, which is part of my BSc
> thesis.
I would suggest that you run perf or oprofile to figure out where the
time is being spent.
It's a bit hard to tell what these functions are intended to do. It's
not obvious that you're doing anything that couldn't be done using
straight SQL.
How fast do you need this to run?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company