tada / pljava

PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
http://tada.github.io/pljava/
Other
238 stars 77 forks source link

Quiet warnings about casts of function types #464

Closed jcflack closed 9 months ago

jcflack commented 10 months ago

It is easy enough to stop casting _PgObject_pureVirtualCalled to incompatible function types, as it makes modern compilers suspicious, and was only done in three places anyway.

TasMot commented 8 months ago

POC project I'm working on is switching from a PostgesSQL DB in a Docker container to the AWS-RDS database. since AWS-RDS is a PostgreSQL DB, I was wondering if anyone has deployed Pl/java into AWS-RDS successfully and if so, any caveats and/or suggestions?

Thanks in advance, Tom

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

Message ID: @.***>

jcflack commented 8 months ago

I don't have a ready answer. There is a promising-looking presentation here:

https://d1.awsstatic.com/events/Summits/reinvent2022/OPN307_NEW-LAUNCH!-Adding-safe-extensions-to-PostgreSQL.pdf

where slide 7 shows a good selection of PLs including PL/Java, but none of the documentation at the GitHub project mentioned on slide 6 mentions it at all. aws/pg_tle#185 asked about PL/Java support, and the answer sounds a little like "sure, use any trusted PL", but the question about doing so on RDS never really got answered.

Some of the murkiness may come down to the slide deck being a generic presentation "look at all the ways you could use our cool pg_tle thing on a PostgreSQL instance you host on your own", but the list of ways you can use it on RDS may be smaller.

I'm not sure the comments in this closed unrelated PL/Java pull request are where your question will get the most attention. Stack Exchange, maybe?