Re: BUG #6097: Server crash when enabling custom_variable_classes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6097: Server crash when enabling custom_variable_classes
Дата
Msg-id 27074.1310136837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6097: Server crash when enabling custom_variable_classes  ("Maxim Boguk" <Maxim.Boguk@gmail.com>)
Список pgsql-bugs
"Maxim Boguk" <Maxim.Boguk@gmail.com> writes:
> Test case simple:
> start server with empty custom_variable_classes

> Then add to config file:

> custom_variable_classes = 'something'                # list of custom
> variable class names
> something.location = 'ru'

> And then perform
> select pg_reload_conf();

> Ooops... you have no more working server (but client connections staying
> alive).

Hmm ... it's not exactly a crash, but an intentional postmaster exit;
the log shows

LOG:  received SIGHUP, reloading configuration files
LOG:  parameter "custom_variable_classes" changed to "something"
FATAL:  unrecognized configuration parameter "something.location"

Nonetheless, it's clearly not the desired behavior :-(.  Will look.

            regards, tom lane

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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: make_greater_string() does not return a string in some cases
Следующее
От: kmx
Дата:
Сообщение: PostgreSQL fails to build with 32bit MinGW-w64