Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id CF8D89FA0CC for ; Tue, 19 Dec 2006 14:25:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 47506-06 for ; Tue, 19 Dec 2006 14:25:36 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by postgresql.org (Postfix) with ESMTP id 450289F9C35 for ; Tue, 19 Dec 2006 14:25:36 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so1852000ugf for ; Tue, 19 Dec 2006 10:25:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N8lJZPbRSzYootK2/unGTTczmYAGX2lj9LnrUyu9d6/e1cV1KSxmhgbFyOf+yE8pKqPtcozSO0wPvw1lieD3tn9IQeJGi8LZV7Hrx5d4RByQqP/dZrZ0p//zvdGqYyj/O8MZjeAsOcwpxRk3MfDy4BVkGJLIgTgzHhaYYuLR7PM= Received: by 10.67.103.7 with SMTP id f7mr7614639ugm.1166552735029; Tue, 19 Dec 2006 10:25:35 -0800 (PST) Received: by 10.66.216.15 with HTTP; Tue, 19 Dec 2006 10:25:34 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2006 23:55:34 +0530 From: "Rajesh Kumar Mallah" To: "Tom Kalafut" Subject: Re: multiple postgres instances from RPM install Cc: pgsql-admin@postgresql.org In-Reply-To: <1C6A5A59B497974EA899736C7A78D8F013F292@TSIEXCHANGE.tridsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1C6A5A59B497974EA899736C7A78D8F013F292@TSIEXCHANGE.tridsys.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/269 X-Sequence-Number: 24061 On 12/19/06, Tom Kalafut wrote: > > > > > I am getting ready to set up 2 postgres instances, but I'm somewhat new to > postgres. I've used RPM to list out all the files that are installed, and I > think I've isolated all the executables of which I need to make separate > copies, but I was hoping for some confirmation. please read about initdb you can initdb two different empty directories as two different unix users. when you initdb a directory you will get a postgresql.conf file in it. you can change the port number in that file to run different instances separately. but do you really need two different instances that would possibly compete each other for resources? I heard the exact files > that need copying are listed in a thread somewhere in the archives, but I > can't seem to find it. Could someone please point me to it? > > > > The motivation behind this is having 2 distinct SELinux policies for 2 > separate users with their own separate databases. > > > > Thanks, > > Tom > > > > > > Tom Kalafut > Interchange/CG Crew Member > Trident Systems Inc. > tommyk@tridsys.com > (919)388-1264 > > > > ------------------------- > > The opinions expressed in this email may not necessarily reflect the > opinions of Trident Systems Inc. > >