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

Call plpython inline #249

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

rbiro
Copy link

@rbiro rbiro commented Mar 14, 2020

I think this is a less hacky way to initialize plpython and multicorn at the same time. Basically, it just calls plpython_inline_handler and asks it to eval pass.

To do this, we have to initialize things later than in the past.

This opens the door to creating a utils.plpy_eval function that will run python inside the plpython context for light weight calls to plpython. We will also be able to setup a trampline via python to wrap the multicorn entry points for a more heavyweight way to guarantee we have the appropriate context for plpy functions to work.

Comments, suggestions?

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

Successfully merging this pull request may close these issues.

1 participant