agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.
Date: Sun, 04 Sep 2011 21:42:00 +0000
Message-ID: <x6bov09e8n.fsf@2ndquadrant.com> (raw)
In-Reply-To: <1315131561130-4767309.post@n5.nabble.com>
References: <1315131561130-4767309.post@n5.nabble.com>

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/





view thread (3+ messages)  latest in thread

Message-ID: <x6bov09e8n.fsf@2ndquadrant.com>
Permalink:  ../x6bov09e8n.fsf@2ndquadrant.com/
Also on:    postgresql.org/message-id/x6bov09e8n.fsf@2ndquadrant.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] PostgresSQL 8.4 PL/Java IO access issue.
  In-Reply-To: <x6bov09e8n.fsf@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox