Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id ECF592E00C0 for ; Sat, 31 May 2008 22:42:06 -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 58279-07 for ; Sat, 31 May 2008 22:41:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from alexis.jtlnet.com (alexis.jtlnet.com [69.36.9.81]) by developer.postgresql.org (Postfix) with ESMTP id 999632E0080 for ; Sat, 31 May 2008 22:42:04 -0300 (ADT) Received: from [192.168.10.103] (cpe-075-177-177-228.nc.res.rr.com [::ffff:75.177.177.228]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by alexis.jtlnet.com with esmtp; Sat, 31 May 2008 21:41:33 -0400 id 00097B4C.4841FE4E.00002B0A Message-ID: <4841FE63.1020708@dunslane.net> Date: Sat, 31 May 2008 21:41:55 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: Greg Sabino Mullane CC: pgsql-hackers@postgresql.org Subject: Re: Overhauling GUCS References: <16ab21af4a6ad3385411e4178dcc1416@biglumber.com> In-Reply-To: <16ab21af4a6ad3385411e4178dcc1416@biglumber.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200805/1109 X-Sequence-Number: 119108 Greg Sabino Mullane wrote: > > * A weak +1 to the #include idea. I'm much more inclined to simply > add a new section to the bottom of the file and use version > control, but I could see ways in which include would be useful. > > > > We already have include directives, and have had since 8.2. Thus spake the docs: "In addition to parameter settings, the postgresql.conf file can contain /include directives/, which specify another file to read and process as if it were inserted into the configuration file at this point. Include directives simply look like: include 'filename' If the file name is not an absolute path, it is taken as relative to the directory containing the referencing configuration file. Inclusions can be nested." cheers andrew