Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 259F6B5DBFC for ; Fri, 8 Jul 2011 11:54:05 -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 20823-05 for ; Fri, 8 Jul 2011 14:53:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id F19FDB5DBF9 for ; Fri, 8 Jul 2011 11:53:58 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p68Erv9w027075; Fri, 8 Jul 2011 10:53:57 -0400 (EDT) To: "Maxim Boguk" cc: pgsql-bugs@postgresql.org 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> Comments: In-reply-to "Maxim Boguk" message dated "Fri, 08 Jul 2011 06:46:29 +0000" Date: Fri, 08 Jul 2011 10:53:57 -0400 Message-ID: <27074.1310136837@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/66 X-Sequence-Number: 30678 "Maxim Boguk" 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