Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0F347B5DBE9 for ; Fri, 8 Jul 2011 03:46:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54143-10 for ; Fri, 8 Jul 2011 06:46:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 6AE65B5D803 for ; Fri, 8 Jul 2011 03:46:30 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p686kTAV068706 for ; Fri, 8 Jul 2011 06:46:29 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p686kTIi068705; Fri, 8 Jul 2011 06:46:29 GMT (envelope-from www) Date: Fri, 8 Jul 2011 06:46:29 GMT Message-Id: <201107080646.p686kTIi068705@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6097: Server crash when enabling custom_variable_classes From: "Maxim Boguk" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201107/64 X-Sequence-Number: 30676 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.