Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

function cache #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

function cache #26

wants to merge 1 commit into from

Conversation

eugwne
Copy link
Member

@eugwne eugwne commented Mar 20, 2016

Changed cache fucntion info storage from string key->LUA_REGISTRYINDEX value to postgres hash table,
this should speed look up time for cases like "select function() from ...many rows" and reduce time for creating/reindexing functional indexes

Unfortunately it is not possible to make pointer to a lua function...

Some function behaviour (load/reload) might be changed, and I couldn't find any docs how function caching should work inside sql servers.

Please let me know if this patch breaks anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant