Re: GUC custom variables broken

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: GUC custom variables broken
Дата
Msg-id cn0tn2$v3q$1@sea.gmane.org
обсуждение исходный текст
Ответ на GUC custom variables broken  (Thomas Hallgren <thhal@mailblocks.com>)
Список pgsql-hackers
Thomas Hallgren wrote:
> I have the following in my postgresql.conf
> 
> custom_variable_classes = 'pljava'
> pljava.classpath = 
> 'C:\\Tada\\Workspace\\org.postgresql.pljava\\build\\pljava.jar'
> 
> It worked fine with 8.0.0beta2. The beta4 however, gives me the 
> following message:
> 
>    FATAL:  unrecognized configuration parameter "pljava.classpath"
> 
> What happened?>
Ah, I see what's wrong. It's in the guc_file.l

Previously, the "custom_variable_classes" was *set* first of all 
variables. Now, it's moved first in the linked list and then *tested* 
first of all. Subsequent tests of custom variables will of course then 
fail since the custom_variable_classes has not been set.

Perhaps this change could be reverted? Or perhaps someone has other 
preferences on implementation?

Regards,
Thomas Hallgren



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GUC custom variables broken
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: newbie compile question. please help