From: Maxim Boguk <Maxim.Boguk@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6097: Server crash when enabling custom_variable_classes
Date: Fri, 8 Jul 2011 06:46:29 GMT
Message-ID: <201107080646.p686kTIi068705@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6097
Logged by: Maxim Boguk
Email address: Maxim.Boguk@gmail.com
PostgreSQL version: 9.0 9.1beta
Operating system: Linux/Freebsd
Description: Server crash when enabling custom_variable_classes
Details:
I found crash bug in custom_variable_classes work.
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).
Same crash with 9.0 and 9.1beta.
Adding just
custom_variable_classes = 'qqqq'
and pg_reload_conf() do not crash server.
But after I added qqqq.location = 'ru' to config and perform second
pg_reload_conf() server crashed again.
The same happens if server started with just custom_variable_classes =
'qqqq',
after I added qqqq.location = 'ru' and performend pg_reload_conf() server
crashed.
However with both option enabled server start and work without any issues.
PS: it is exeptionally strange no one happen to be hit by that problem
before.
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: Maxim.Boguk@gmail.com
Subject: Re: BUG #6097: Server crash when enabling custom_variable_classes
In-Reply-To: <201107080646.p686kTIi068705@wwwmaster.postgresql.org>
References: <201107080646.p686kTIi068705@wwwmaster.postgresql.org>
* 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