pljava and Postgres 9.2.1

From: Misa Simic <misa(dot)simic(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pljava and Postgres 9.2.1
Date: 2012-09-25 16:59:45
Message-ID: CAH3i69=QvXRet6q8p68P1WOr5uSvBM6UjJ9pEJd2W7jcBzK_xQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

We have a bit strange error with pljava deploy and postgresql 9.2.1...

We are not sure is it related to pljava itself, because of when we add to
postgresql.conf:

custom_variable_classes = 'pljava'

we cant start Postgres any more...

server log says;

LOG: unrecognized configuration parameter "custom_variable_classes" in
file "/usr/local/pgsql/data/postgresql.conf" line 574
FATAL: configuration file "/usr/local/pgsql/data/postgresql.conf" contains
errors

if we comment that line - postgres starts fine...

OS: Ubuntu 12.04

pljava 1.4.3 compiled with: java -version
java version "1.5.0"
gij (GNU libgcj) version 4.6.3

install.sql of pljava - passed fine, without problems...

but an call to an java function says (Postgresql function - CREATE function
language java - passed fine):

ERROR: Unable to load class org/postgresql/pljava/internal/Backend using
CLASSPATH 'null'

then we have tried to add in postgresql.conf

#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------

# Add settings for extensions here
custom_variable_classes = 'pljava'
pljava.classpath = '/usr/local/pgsql/lib/pljava.jar'

on the end...

but after that we cant start Postgresql any more.. (those two lines
commented - Postgres starts fine)

Any ideas?

Thanks,

Misa

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2012-09-25 17:04:33 Re: pljava and Postgres 9.2.1
Previous Message hubert depesz lubaczewski 2012-09-25 16:58:05 Re: unique constraint with significant nulls?