Thread: user defined functions in Java ?

user defined functions in Java ?

From
"Umashankar Kotturu"
Date:
Hi,

I am a beginner in postgres.

a) I understand from postgres documentation that a user-defined function can 
be in sql or C language. Do any of you have an idea if such a function can 
be defined in Java ?

b) if some one has examples of code, can you please forward the same ?

Regards
Uma.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



Re: user defined functions in Java ?

From
Peter Eisentraut
Date:
Umashankar Kotturu writes:

> a) I understand from postgres documentation that a user-defined function can 
> be in sql or C language. Do any of you have an idea if such a function can 
> be defined in Java ?

Currently not.  You could try to use the GCC Java compiler to create
object files with C-like linkage, but unfortunately that isn't documented
anywhere so I'm speculating.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/