From: | "Kiyo Kelvin Lee" <kiyolee*remove*(at)ctimail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Alternate locations of DB's |
Date: | 2000-10-26 12:17:14 |
Message-ID: | 39f820bf.5a018@nancy.pacific.net.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
The problem is that you can't share the same port for different instance of
postmaster.
Start postmaster with the option -p can help. so,
$ nohup postmaster -i -p 5432 -D /home/user/database &
$ nohup postmaster -i -p 5433 -D /home/user1/database &
$ nohup postmaster -i -p 5434 -D /home/user2/database &
should work. At least work for my linux machine.
And connect to the instances using psql as:
$ psql -p {port_no}
Kiyo
""Brian C. Doyle"" <brian(at)jbbent(dot)com> wrote in message
news:5(dot)0(dot)0(dot)25(dot)2(dot)20001025075020(dot)01c5cd00(at)pop(dot)mindspring(dot)com(dot)(dot)(dot)
> Hello all,
>
> How do I get Postgresql to use independantly seperate db
> locations. Currently I have them under /home/user/database and as long
as
> i get postmaster to run with that same location I am fine but I want to
have
> /home/user/database
> /home/user1/database
> /home/userr2/database
> ect...
>
> But I can only get one instance of the postmaster running at a time .
How
> do i change that if i can!
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Martin A. Marques | 2000-10-26 12:29:24 | binary data and TEXT |
Previous Message | danyele | 2000-10-26 12:14:13 | phpPgAdmin |