Re: User Defined Functions/AM's inherently slow? - Mailing list pgsql-hackers

From Eric Ridge
Subject Re: User Defined Functions/AM's inherently slow?
Date
Msg-id 958F3A30-8146-11D8-BC9D-000A95BB5944@tcdi.com
Whole thread Raw
In response to User Defined Functions/AM's inherently slow?  (Eric Ridge <ebr@tcdi.com>)
List pgsql-hackers
I don't have the original thread in my inbox anymore, so for
reference:http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF
 
-8&selm=20129.1074484755%40sss.pgh.pa.us

Tom Lane last said:
> I have committed a patch into CVS HEAD --- give it a try.

It took me awhile, but I finally got around to trying this (by plopping  
it into my 7.4 sources), and yes, the hashlookup does significantly  
improve the performance of calling "C" functions.  I agree with your  
commit message that they're now roughly on par with built-in functions.

thanks!

eric




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Fuzzy cost comparison to eliminate redundant planning
Next
From: Tom Lane
Date:
Subject: Re: Fuzzy cost comparison to eliminate redundant planning work