Received: from alert.infoplease.com (range.infoplease.com [208.222.166.25]) by hub.org (8.9.3/8.9.3) with ESMTP id QAA22565 for ; Mon, 3 Jan 2000 16:08:31 -0500 (EST) (envelope-from kdebisschop@range.infoplease.com) Received: from skillet.infoplease.com (skillet [10.0.1.212]) by alert.infoplease.com (8.9.3+Sun/8.9.3) with ESMTP id QAA14014; Mon, 3 Jan 2000 16:07:59 -0500 (EST) Received: (from kdebisschop@localhost) by skillet.infoplease.com (8.9.3/8.9.1) id QAA28365; Mon, 3 Jan 2000 16:08:00 -0500 Date: Mon, 3 Jan 2000 16:08:00 -0500 Message-Id: <200001032108.QAA28365@skillet.infoplease.com> X-Authentication-Warning: skillet.infoplease.com: kdebisschop set sender to kdebisschop@spaceheater.infoplease.com using -f From: Karl DeBisschop To: lamar.owen@wgcr.org CC: pgsql-admin@postgreSQL.org In-reply-to: <38710D7C.850A8232@wgcr.org> (message from Lamar Owen on Mon, 03 Jan 2000 15:58:36 -0500) Subject: Re: [ADMIN] Is it possible to run multiple postmasters?h Reply-to: kdebisschop@range.infoplease.com References: <200001032001.PAA24974@candle.pha.pa.us> <200001032033.PAA27539@skillet.infoplease.com> <38710D7C.850A8232@wgcr.org> > As a note, the RedHat init scripts shipped with the RPM's are not > intended for 'special' applications such as this one -- however, I am > working on a more generalized setup in the RPM's where multiple > postmasters, etc, could be started. Yup. I had to do slightly more than trivial mods to get the init script to work for the second postmaster. > That rm -f is for cleanup purposes -- assuming a single postmaster, it > works correctly. For multiple postmasters, it would need to be changed > (assuming PGPORT= postmaster listen port): > rm -f /tmp/.s.PGSQL.$(PGPORT) > /dev/null Once I saw it, it's purpose was relatively clear - One big plus about the redhat scripts is that their logic is pretty understandable. > This way, the init script allows a postmaster to startup even if the > restart is due to a system crash that would leave the .s.PGSQL.* files > laying around. Yup. > I'm assuming that you have all the paths set correctly for each copy of > the postmaster, so that the 6.5.1 postmaster isn't trying to start a > 6.5.3 backend, right? Hmmm. Very good point. Thanks. Karl DeBisschop