Re: One data dir and two servers

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: One data dir and two servers
Дата
Msg-id dcc563d10907180835u171de27dy26858af14d266bb8@mail.gmail.com
обсуждение исходный текст
Ответ на One data dir and two servers  (Nikolai ZHUBR <zhubr@mail.ru>)
Ответы Re: One data dir and two servers  (Nikolai ZHUBR <zhubr@mail.ru>)
Список pgsql-admin
On Sat, Jul 18, 2009 at 3:47 AM, Nikolai ZHUBR<zhubr@mail.ru> wrote:
> Hello Scott,
>
>>> I'd like to be able to run one of TWO independently installed server
>>> instances on the same single data cluster. Actually, there are even
>>> 2 separate OS instances for that, though they are mostly identical and
>>> they share the same harddisk. Server instances are also identical
>>> versions.
>
>> Sorry can't do that.  The way pgsql works it needs to be a single
>> postmaster on a single server.
>
> Probably I was not clear enough - I meant that only _one_ postmaster
> is run at a time, of course. What is wanted is that the user be able
> to choose _which_ one at boot time (So, 2 identical posmasters, 1
> cluster, 1 postmaster always up, 1 postmaster always down).

Yeah, that should work, as long as only one postmaster is up at a
time.  They both need to run under the same account.

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: disable trigger all
Следующее
От: Nikolai ZHUBR
Дата:
Сообщение: Re: One data dir and two servers