On 18 July 2016 at 06:04, <amatv...@bitec.ru> wrote:

> Hi
>
> > There's https://github.com/jnr/jnr-ffi that enables to call C
> > functions without resorting to writing JNI wrappers.
> I have not said that you are wrong.
> It's the dark side of "like seprate process"
> They can cheaply call sql from jvm.
> And they can't cheaply call jvm from sql.
>

This https://github.com/davecramer/plj-new is a very old project that did
work at one time which attempted to do RPC calls to the jvm to address
exactly this problem.

However "cheaply" calling jvm from sql or vice-versa is not really possible.

I do like the idea of the background worker and shared memory though.

Dave Cramer

da...@postgresintl.com
www.postgresintl.com

Reply via email to