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

PL/Java language support #185

Closed
domenico1982 opened this issue Mar 22, 2023 · 5 comments
Closed

PL/Java language support #185

domenico1982 opened this issue Mar 22, 2023 · 5 comments
Labels
general General question or request for help

Comments

@domenico1982
Copy link

Describe the problem

Any chance to get the PL/Java language listed as trusted languages and thus supported with pg_tle?
If yes, can you provide an ETA for GA?

@domenico1982 domenico1982 added the general General question or request for help label Mar 22, 2023
@jkatz
Copy link
Contributor

jkatz commented Mar 22, 2023

Hi @domenico1982 -- we actually don't list out specific trusted languages that work with pg_tle in the docs, though we do provide examples of writing TLEs with a few of them. As noted in the security section of the docs:

Use pg_tle with trusted languages. While pg_tle can work with untrusted languages, trusted languages in PostgreSQL provide more protections for user-provided code.

Implicitly, you can write TLEs with PL/Java so long as your environment has PL/Java installed. Perhaps we can add in the README a comment about how TLE applies to trusted languages in genera. However, unless we have specific examples built on in the docs of pg_tle being used with another language, I don't know if we should list all of the languages out.

@davecramer
Copy link
Contributor

Hi @domenico1982 PL/Java is also somewhat unique in that it requires a JVM to exist on the host. I guess you would only run this on your hosts that actually had a JVM ?

@domenico1982
Copy link
Author

Hi Dave, yeah, you're right. We're only wondering if this will ever be supported with RDS/Aurora. Thanks for your support, both answers are clear and valuable.

@jkatz
Copy link
Contributor

jkatz commented Mar 27, 2023

@domenico1982 Thanks for the feedback. I am going to close out this issue.

@jkatz jkatz closed this as completed Mar 27, 2023
@davecramer
Copy link
Contributor

@domenico1982 PL/Java hasn't seen much love lately. I'm wondering just how much it is used. Obviously you are using it, do you have any notion how popular it is ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general General question or request for help
Projects
None yet
Development

No branches or pull requests

3 participants