X-Original-To: pgsql-docs-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A99DD9F9ECD for ; Fri, 15 Sep 2006 09:11:19 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 61341-03 for ; Fri, 15 Sep 2006 09:11:15 -0300 (ADT) X-Greylist: delayed 00:20:23.259637 by SQLgrey- Received: from serv1.oss.ntt.co.jp (serv1.oss.ntt.co.jp [222.151.198.98]) by postgresql.org (Postfix) with ESMTP id C17F39F95CB for ; Fri, 15 Sep 2006 09:11:14 -0300 (ADT) Received: from D6D7X2BX (unknown [172.20.20.49]) by serv1.oss.ntt.co.jp (Postfix) with ESMTP id 949DD2609AF; Fri, 15 Sep 2006 20:50:46 +0900 (JST) To: pgsql-docs@postgresql.org Cc: okano.katsuhiko@oss.ntt.co.jp Subject: The supplementary proposal of pg_ctl reload From: Katsuhiko Okano Message-Id: <200609152050.HIG56085.LILPJBVOPTuBUPL@oss.ntt.co.jp> X-Mailer: Winbiff [Version 2.50 PL2 (on Trial)] X-Accept-Language: ja,en Date: Fri, 15 Sep 2006 20:50:43 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.546 tagged_above=0 required=5 tests=AWL X-Spam-Level: * X-Archive-Number: 200609/10 X-Sequence-Number: 3697 Hi. There is the following description in [17.1. Setting Parameters]. http://www.postgresql.org/docs/8.1/interactive/runtime-config.html#CONFIG-SETTING > The configuration file is reread whenever the postmaster process receives > a SIGHUP signal When I tried 'pg_ctl reload' with some lines commented out, I found that the value for the commented-out parameter was staying unchanged, rather than set to the default value. For example, "log_min_duration_statement" The default is set as -1 and commented out in postgresql.conf. If I tried it to set 0 and 'reload', parameter will set to 0 at postmaster. but I want changed to -1 at postmaster, tried it commented-out in postgresql.conf and reload, it will still unchanged. it can chenge by 'restart'. I think that it should supplement since it is easy to misunderstand this specification. Because, at 'pg_ctl start' and 'pg_ctl reload', treatment of the line which commented out at the time of reading postgresql.conf looks differ, cautions are required. Therefore, I think that it should supplement. I'd like to propose to add the following to the above "A second way to set there configuration parameters": --- When parameters in postgresql.conf are commented out and reloaded, those values will not be changed to the default values and will stay at the present states. --- (Somebody of native English speakers check this text...) Regards, -------- Katsuhiko Okano okano katsuhiko _at_ oss ntt co jp