citusdata / citusdata/citus

We may want to replace GetFunctionInfo() with PostgreSQL function lookup_type_cache(). lookup_type_cache() and GetFunctionInfo() uses same functions and parameters, so they resolve to same FmgrInfo

Open
#109 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

We may want to replace GetFunctionInfo() with PostgreSQL function lookup_type_cache(). lookup_type_cache() and GetFunctionInfo() uses same functions and parameters, so they resolve to same FmgrInfo. Only difference is that they use different memory contexts, lookup_type_cache() uses CacheMemoryContext, and GetFunctionInfo() uses CurrentMemoryContext.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.