Received: from alert.infoplease.com (range.infoplease.com [208.222.166.25]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA94116 for ; Tue, 4 Jan 2000 10:37:41 -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 KAA28666 for ; Tue, 4 Jan 2000 10:37:08 -0500 (EST) Received: (from kdebisschop@localhost) by skillet.infoplease.com (8.9.3/8.9.1) id KAA23091; Tue, 4 Jan 2000 10:37:10 -0500 Date: Tue, 4 Jan 2000 10:37:10 -0500 Message-Id: <200001041537.KAA23091@skillet.infoplease.com> X-Authentication-Warning: skillet.infoplease.com: kdebisschop set sender to kdebisschop@spaceheater.infoplease.com using -f From: Karl DeBisschop To: 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> > Karl DeBisschop wrote: > > > > > Yes you can. Use a postmaster parameter to specify a different port > > > number, and use that port number in your connections. > > > > What I was missing was that: > > > > rm -f /tmp/.s.PGSQL.* > /dev/null > > > > must be removed from thr redhat init script in order for the sockcts > > to work correctly. The 6.5.1/6.5.3 workarond now seems viable. > > 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. snip snip... > 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? For anyone following this topic, testing shows that postmaster invokes the postgres binary in the expected directory, even without explicitly setting the path. I'm not sure if this is always the case, or is an artifact of the fact that the init script specifies the full path. I see it as just another illustration of how much thought and effort has gone into making this a good product. Karl DeBisschop