pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #6097: Server crash when enabling custom_variable_classes
3+ messages / 2 participants
[nested] [flat]
* BUG #6097: Server crash when enabling custom_variable_classes
@ 2011-07-08 06:46 Maxim Boguk <Maxim.Boguk@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Maxim Boguk @ 2011-07-08 06:46 UTC (permalink / raw)
To: pgsql-bugs
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #6097: Server crash when enabling custom_variable_classes
@ 2011-07-08 14:53 Tom Lane <tgl@sss.pgh.pa.us>
parent: Maxim Boguk <Maxim.Boguk@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2011-07-08 14:53 UTC (permalink / raw)
To: Maxim Boguk <Maxim.Boguk@gmail.com>; +Cc: 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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: BUG #6097: Server crash when enabling custom_variable_classes
@ 2011-07-08 21:04 Tom Lane <tgl@sss.pgh.pa.us>
parent: Maxim Boguk <Maxim.Boguk@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2011-07-08 21:04 UTC (permalink / raw)
To: Maxim Boguk <Maxim.Boguk@gmail.com>; +Cc: pgsql-bugs
"Maxim Boguk" <Maxim.Boguk@gmail.com> writes:
> Description: Server crash when enabling custom_variable_classes
Fixed, thanks for the report.
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2011-07-08 21:04 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 06:46 BUG #6097: Server crash when enabling custom_variable_classes Maxim Boguk <Maxim.Boguk@gmail.com>
2011-07-08 14:53 ` Tom Lane <tgl@sss.pgh.pa.us>
2011-07-08 21:04 ` Tom Lane <tgl@sss.pgh.pa.us>
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