[Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.

From: johann at 2ndquadrant(dot)com (Johann 'Myrkraverk' Oskarsson)
To:
Subject: [Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.
Date: 2011-09-04 21:42:00
Message-ID: x6bov09e8n.fsf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

marc_firth <marc.r.firth at gmail.com> writes:

>
> -- PL/Java Wrapper Fuction
> CREATE FUNCTION fileexists(character varying) RETURNS boolean
> LANGUAGE java
> AS $$FileExists.checkFile(java.lang.String)$$;

Use javau as the language. Then you don't have a security manager.

--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message marc_firth 2011-09-05 21:30:20 [Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.
Previous Message marc_firth 2011-09-04 10:19:21 [Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.