Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 739492E005C for ; Fri, 6 Jun 2008 07:38:09 -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 40479-07 for ; Fri, 6 Jun 2008 07:37:56 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by developer.postgresql.org (Postfix) with ESMTP id 4487A2E003F for ; Fri, 6 Jun 2008 07:37:55 -0300 (ADT) Received: from pse.dyndns.org (p548F1B4E.dip0.t-ipconnect.de [84.143.27.78]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1K4ZKP1Pmo-00048L; Fri, 06 Jun 2008 12:37:51 +0200 Received: from [192.168.0.2] (helo=[192.168.0.2]) by pse.dyndns.org with esmtp (Exim 4.44) id 1K4ZKM-00037Q-G7; Fri, 06 Jun 2008 12:37:46 +0200 Message-ID: <4849137C.3040008@pse-consulting.de> Date: Fri, 06 Jun 2008 12:37:48 +0200 From: Andreas Pflug User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Gregory Stark CC: pgsql-hackers@postgresql.org Subject: Re: Overhauling GUCS References: <29525.1212613052@sss.pgh.pa.us> <48472E47.7030701@dunslane.net> <20080605162400.GF16502@alvh.no-ip.org> <48481CBF.6040602@enterprisedb.com> <48481E3A.4010306@hagander.net> <20080605174209.GL16502@alvh.no-ip.org> <20080605212129.GI14498@yugib.highrise.ca> <3F927D52-A0FD-4575-8D24-F0F70C459235@kineticode.com> <4848FAA6.8000903@pse-consulting.de> <87ej7aeuqx.fsf@oxford.xeocode.com> In-Reply-To: <87ej7aeuqx.fsf@oxford.xeocode.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+Qh8D97PkvIQF0lDQA7O2AlT8d3sPr54npa72 3b6CoClCIuFeeScy6Xrt/g/cTytyGvYfEOHK99RGacOQqXiuNI 1TzioclNBqrlgk9yJIDCg== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/272 X-Sequence-Number: 119385 Gregory Stark wrote: > "Andreas Pflug" writes: > > >> Why do so many people here insist on editing postgresql.conf as primary means >> of changing config params? >> Isn't a psql -c "SET foo=bar; MAKE PERSISTENT" just as good as sed'ing >> postgresql.conf or doing it manually? >> > > no, it's awful. > > So I wonder why you accept it when configuring schemas. What's the big difference between setting a config param, and creating a table? And ultimately, the config param file format may well look like an SQL command file, restricted to SET only. > And in every major installation I've seen people use the last option. They > treat the original text file which is kept elsewhere -- normally checked into > some revision control system, tracked and managed like source code -- as the > canonical and authoritative version. > That's how you'd have to manage the schema sources too, no? Your comments are lost as well after schema creation scripts are executed, and manual changes may interfere with that. Regards, Andreas