Re: BUG #6097: Server crash when enabling custom_variable_classes - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #6097: Server crash when enabling custom_variable_classes
Date
Msg-id 27074.1310136837@sss.pgh.pa.us
Whole thread Raw
In response to BUG #6097: Server crash when enabling custom_variable_classes  ("Maxim Boguk" <Maxim.Boguk@gmail.com>)
List 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 by date:

Previous
From: Kyotaro HORIGUCHI
Date:
Subject: Re: make_greater_string() does not return a string in some cases
Next
From: kmx
Date:
Subject: PostgreSQL fails to build with 32bit MinGW-w64