pljava and Postgres 9.2.1

Поиск
Список
Период
Сортировка
От Misa Simic
Тема pljava and Postgres 9.2.1
Дата
Msg-id CAH3i69=QvXRet6q8p68P1WOr5uSvBM6UjJ9pEJd2W7jcBzK_xQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pljava and Postgres 9.2.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: unique constraint with significant nulls?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pljava and Postgres 9.2.1