Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 1FE122E0091 for ; Mon, 2 Jun 2008 11:13:23 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88458-03-5 for ; Mon, 2 Jun 2008 11:13:07 -0300 (ADT) 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 developer.postgresql.org (Postfix) with ESMTP id 488F92E009D for ; Mon, 2 Jun 2008 11:12:21 -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 m52EC6cP017933; Mon, 2 Jun 2008 10:12:06 -0400 (EDT) To: Greg Smith cc: Peter Eisentraut , pgsql-hackers@postgresql.org, Josh Berkus Subject: Re: Overhauling GUCS In-reply-to: References: <48409D1E.3070208@agliodbs.com> <200806010032.53337.peter_e@gmx.net> Comments: In-reply-to Greg Smith message dated "Mon, 02 Jun 2008 06:24:26 -0400" Date: Mon, 02 Jun 2008 10:12:06 -0400 Message-ID: <17932.1212415926@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/53 X-Sequence-Number: 119166 Greg Smith writes: > Joshua has been banging a drum for a while now that all this data needs to > get pushing into the database itself. This is, very simply, not going to happen. Shall we go over the reasons why not, one more time? 1. Quite a few of the GUC parameters are needed *before* one can ever read the database; in particular the ones about file locations and shared memory sizing. 2. Suppose you change a parameter in a way that breaks the DB (eg, set shared_buffers to a value larger than your kernel allows) and try to restart. Database doesn't start. If the parameter can only be changed back within an operating database, you're hosed. I have no objection to providing alternative ways to edit the configuration data, but the primary source of the settings is going to continue to be an editable text file. Any proposals for alternatives-to-a-text-editor have to work within that reality. regards, tom lane