From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maxim Boguk <Maxim.Boguk@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6097: Server crash when enabling custom_variable_classes
Date: Fri, 08 Jul 2011 10:53:57 -0400
Message-ID: <27074.1310136837@sss.pgh.pa.us> (raw)
In-Reply-To: <201107080646.p686kTIi068705@wwwmaster.postgresql.org>
References: <201107080646.p686kTIi068705@wwwmaster.postgresql.org>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, Maxim.Boguk@gmail.com
Subject: Re: BUG #6097: Server crash when enabling custom_variable_classes
In-Reply-To: <27074.1310136837@sss.pgh.pa.us>
References: <201107080646.p686kTIi068705@wwwmaster.postgresql.org> <27074.1310136837@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox