Add a hash table to cache lookups of 'C'-language functions (that is,
Tom Lane <tgl@sss.pgh.pa.us>
Add a hash table to cache lookups of 'C'-language functions (that is, dynamically loaded C functions). Some limited testing suggests that this puts the lookup speed for external functions just about on par with built-in functions. Per discussion with Eric Ridge.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/fmgr/dfmgr.c | modified | +2 −1 |
| src/backend/utils/fmgr/fmgr.c | modified | +161 −28 |
| src/include/fmgr.h | modified | +2 −1 |