Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by hub.org (8.10.1/8.11.0) with ESMTP id e9QBoqU38645 for ; Thu, 26 Oct 2000 07:50:52 -0400 (EDT) (envelope-from bcdoyle@mindspring.com) Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id FAA91139 for ; Thu, 26 Oct 2000 05:55:53 GMT (envelope-from bcdoyle@mindspring.com) Received: from hbg-dnt-1467.mindspring.com (fw-5-e3.atl2.mindspring.net [207.69.162.92]) by maynard.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id GAA25254; Thu, 26 Oct 2000 06:09:21 -0400 (EDT) Message-Id: <5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com> X-Sender: bcdoyle@pop.mindspring.com X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Thu, 26 Oct 2000 06:08:39 -0400 To: Tom Lane From: "Brian C. Doyle" Subject: Re: Alternate Database Locations Cc: pgsql-sql@postgresql.org In-Reply-To: <3971.972528180@sss.pgh.pa.us> References: <5.0.0.25.2.20001025151441.088d35d0@pop.mindspring.com> <4.3.2.7.2.20001024190037.00e2fa80@pop.mindspring.com> <5.0.0.25.2.20001025151441.088d35d0@pop.mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200010/236 X-Sequence-Number: 1903 Okay I am still doing something wrong here I set PGDATA2=/home/user1/database export PGDATA2 then I start postmaster postmaster -d PGDATA2 -i -p 5431 & and i get Can't create pid file: /usr/local/pgsql/data/postmaster.pid Is another postmaster (pid: 10686) running? What am I missing... I know it must be simple!!! Thanks for all of your help! At 10:43 PM 10/25/00 -0400, Tom Lane wrote: >"Brian C. Doyle" writes: > > I am still trying to find out how to get multiple postmasters running on > > different ports at the same time. Does anyone have any clue how to do > that? > >Uh, you just do it. Start each postmaster in a different data directory >and with a different port number (-D and -P switches) and you're set. > >Unless you run out of shared memory or some such, in which case some >tweaking of kernel parameters is called for... > > regards, tom lane