Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 8B41013FA3D3 for ; Mon, 18 Jun 2012 04:42:27 -0300 (ADT) Received: from sd-17937.dedibox.fr ([88.191.100.74]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SgWbQ-0006Vb-C0 for pgsql-www@postgresql.org; Mon, 18 Jun 2012 07:42:26 +0000 Received: from [192.168.0.9] (uni14-1-82-233-223-216.fbx.proxad.net [82.233.223.216]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id 0F6223B8F5; Mon, 18 Jun 2012 09:44:26 +0200 (CEST) Message-ID: <1340005330.3923.1.camel@localhost.localdomain> Subject: Re: Some restructuring of the download section From: Guillaume Lelarge To: Tom Lane Cc: Dave Page , Magnus Hagander , Kevin Grittner , "pgsql-www@postgresql.org" Date: Mon, 18 Jun 2012 09:42:10 +0200 In-Reply-To: <27201.1339951215@sss.pgh.pa.us> References: <4FDDAA9F0200002500048597@gw.wicourts.gov> <27201.1339951215@sss.pgh.pa.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.2 (3.4.2-1.fc17) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/42 X-Sequence-Number: 20736 On Sun, 2012-06-17 at 12:40 -0400, Tom Lane wrote: > Dave Page writes: > > On Sun, Jun 17, 2012 at 4:39 PM, Magnus Hagander wrote: > >> Uh, that part is just incorrect. Several sets of platform packages > >> certainly do initdb for you. And AFAIK every single one of them on > >> Linux at least do service setup for you. > > > Hmm, clearly it's been a while since I did a PG installation on Debian > > (oddly!), as that does seem to leave the server up and running. I'm > > fairly certain it didn't in the past. > > RPMs on the other hand, do not. > > FWIW, Red-Hat-based systems have a strong distro policy against starting > servers merely because the package got installed --- the theory is that > an "everything" install should not leave the user running a bunch of > servers he doesn't know about and maybe hasn't configured securely. > > I'm a bit surprised to hear that Debian does it differently; although > it's possible that they distinguish manual from automatic install > scenarios. It's a little bit saner to do an auto service start if you > know that the user explicitly requested this specific package. > When you use aptitude or apt-get to install the server package, it will install the binaires, execute initdb, and start the server. I much prefer the RPM way of doing it (IOW, not starting the server). Anyway, I guess there are both pros and cons in both methods. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com