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.