Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proj upper level cache #614

Closed
wants to merge 7 commits into from
Closed

Conversation

pramsey
Copy link
Member

@pramsey pramsey commented May 14, 2021

Move the Proj cache from the FunctionCallInfo that is limited to function lifetime, up to the backend process itself, so it lasts the length of a connection. Also update the constants/oid lookup helper infrastructure to work without needing a function call to drive locating the install location. Cache move should improve performance for people running projection transforms within PL/PgSQL functions, where the FunctionCallInfo only survives for the length of the PL call, not the length of the transaction.

@pramsey pramsey changed the title First draft of fix for Proj upper level cache Proj upper level cache May 14, 2021
@pramsey pramsey closed this May 21, 2021
@pramsey pramsey deleted the master-proj-cache branch May 21, 2021 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant