How to use external java libraries in Database

From: bb23850 <bb23850(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: How to use external java libraries in Database
Date: 2017-01-09 11:20:53
Message-ID: 1483960853041-5938143.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

I am trying to use Apache.Commons or Cern Colt libraries in my database.
Both these libraries are written Java and are available as .jar files. Is it
possible to pull those libraries into Postgres and use the methods in SQL as
functions.

For example I want to use cern.jet.stat.Descriptive.harmonicMean in SQL as
follows:

select harmonicMean(100, 1000);

Please suggest me how to do this.

thanks and regards

BB23850

--
View this message in context: http://postgresql.nabble.com/How-to-use-external-java-libraries-in-Database-tp5938143.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2017-01-09 15:54:00 Re: How to use external java libraries in Database
Previous Message tank.zhang 2016-12-31 05:03:05 Re: How to use postgresql generated generated always COLUMN ?