agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] preload_libraries and pljava
Date: Sat, 07 May 2005 12:34:42 +0200
Message-ID: <thhal-0RjJYA8GGyicgPwFpmOJbjRBEzPoL8k@mailblocks.com> (raw)
In-Reply-To: <d5i1jd$i0e$1@sea.gmane.org>
References: <d5i1jd$i0e$1@sea.gmane.org>
	<427C99C2.70703@mailblocks.com>
	<thhal-0RTJYA7+GyicYB4ZVRM4qk3J/CqrBQ2@mailblocks.com>

Marek Lewczuk wrote:

> Hi,
> PostgreSQL 8.0 contains a feature called "preload_libraries" - 
> libraries that are to be preloaded at server start. It is really 
> useful. Can it be used with pljava ? What is the initialization 
> function's name ?

Sure, the pljava can be pre-loaded just like any other module. There is 
no particular initialization function though since PL/Java is 
initialized when the first call arrives so don't use a ':' in the 
preload entry for pljava.

A specific initialization function would probably be a good idea.

Regards,
Thomas Hallgren






view thread (4+ messages)  latest in thread

Message-ID: <thhal-0RjJYA8GGyicgPwFpmOJbjRBEzPoL8k@mailblocks.com>
Permalink:  ../thhal-0RjJYA8GGyicgPwFpmOJbjRBEzPoL8k@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-0RjJYA8GGyicgPwFpmOJbjRBEzPoL8k@mailblocks.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] preload_libraries and pljava
  In-Reply-To: <thhal-0RjJYA8GGyicgPwFpmOJbjRBEzPoL8k@mailblocks.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