Re: Alternate Database Locations

Поиск
Список
Период
Сортировка
От Brian C. Doyle
Тема Re: Alternate Database Locations
Дата
Msg-id 5.0.0.25.2.20001026060649.04965e00@pop.mindspring.com
обсуждение исходный текст
Ответ на Re: Alternate Database Locations  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Alternate Database Locations  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Alternate Database Locations  (Peter Eisentraut <peter_e@gmx.net>)
Re: Alternate Database Locations  (indraneel@www.cdfd.org.in)
Список pgsql-sql
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" <bcdoyle@mindspring.com> 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



В списке pgsql-sql по дате отправления:

Предыдущее
От: Dronamraju Rajesh
Дата:
Сообщение: pg_atoi: error in "template1": can't parse "template1"
Следующее
От: Jie Liang
Дата:
Сообщение: Re: How to call a shell command in rule