[Pljava-dev] A couple PL/Java questions

From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] A couple PL/Java questions
Date: 2005-05-21 06:31:37
Message-ID: thhal-0TG5qA6vPzTYnuGBkokrxOkXUfpGUs4@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Eric E wrote:

> Hi,
> I've been looking at PL/Java, and I'm pretty impressed so far. I'm
> still unclear on a couple things:
> 1) Is is possible to write Java code directly embedded in the function
> are is all code in .jar files found in the classpath?

All code is in .jar files. Anything else would require a full blown Java
parser/compiler.

> 2) Is it possible to write a PL/Java function that returns a tuple
> with the number of of elements determined at runtime (to be used with
> a SELECT * from myfunc(arg); )?

Yes, you can write a function that returns SETOF RECORD.

Regards,
Thomas Hallgren

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-05-21 07:30:21 [Pljava-dev] language "java" does not exist
Previous Message Eric E 2005-05-20 22:32:03 [Pljava-dev] A couple PL/Java questions