Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 3C99C9FB3ED for ; Sat, 12 May 2007 00:13:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 87185-03 for ; Sat, 12 May 2007 00:13:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by postgresql.org (Postfix) with ESMTP id 924799FB3E1 for ; Sat, 12 May 2007 00:13:28 -0300 (ADT) Received: from new-host.home ([71.166.59.121]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JHW009OMRM8HFT3@vms044.mailsrvcs.net> for pgsql-performance@postgresql.org; Fri, 11 May 2007 22:13:21 -0500 (CDT) Date: Fri, 11 May 2007 23:12:57 -0400 From: Robert Treat Subject: Re: Best OS for Postgres 8.2 In-reply-to: To: pgsql-performance@postgresql.org Cc: Greg Smith Message-id: <200705112312.57390.xzilla@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <1178574927.533849.90730@e51g2000hsg.googlegroups.com> <22749.1178599033@sss.pgh.pa.us> User-Agent: KMail/1.9.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/236 X-Sequence-Number: 24626 On Tuesday 08 May 2007 23:31, Greg Smith wrote: > On Tue, 8 May 2007, Tom Lane wrote: > > What Debian has done is set up an arrangement that lets you run two (or > > more) different PG versions in parallel. Since that's amazingly helpful > > during a major-PG-version upgrade, most of the other packagers are > > scheming how to do something similar. > > I alluded to that but it is worth going into more detail on for those not > familiar with this whole topic. I normally maintain multiple different PG > versions in parallel already, mostly using environment variables to switch > between them with some shell code. Debian has taken an approach where > commands like pg_ctl are wrapped in multi-version/cluster aware scripts, > so you can do things like restarting multiple installations more easily > than that. > > My issue wasn't with the idea, it was with the implementation. When I > have my newbie hat on, it adds a layer of complexity that isn't needed for > simple installs. I think I would disagree with this. The confusion comes from the fact that it is different, not that it is more complex. For new users what seems to be most confusing is getting from install to initdb to logging in... if you tell them to use pg_ctlcluster rather than pg_ctl, it isn't more confusing, there just following directions at that point anyway. If the upstream project were to switch to debian's system, I think you'd end most of the confusion, make it easier to run concurrent servers and simplify the upgrade process for source installs, and give other package maintiners a way to achive what debian has. Maybe in PG 9... -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL