Re: Shared data dir for multiple postgresql nodes

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Shared data dir for multiple postgresql nodes
Дата
Msg-id CAECtzeXu41tt_g1XgbFQoNdpWx2gCV-T-APw39Fs-sMOzH-uUw@mail.gmail.com
обсуждение исходный текст
Ответ на Shared data dir for multiple postgresql nodes  (Prince Pathria <prince.pathria@goevive.com>)
Список pgsql-admin
Le jeu. 20 déc. 2018 à 09:41, Prince Pathria <prince.pathria@goevive.com> a écrit :
Hi,
I'm asking this out of curiosity, if I have 2 postgres nodes on same server,
1. listening on port 5432
2. listening on port 5433

What issue's I might face if I do it like this? Assuming I'm doing this for multimaster approach.

pg_ctl -D /data/postgres -o "-p 5432" -l /var/log/pg1 start
pg_ctl -D /data/postgres -o "-p 5433" -l /var/log/pg2 start

Corruption is probably the first thing you'll have to assume.


-- 
Guillaume

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

Предыдущее
От: Prince Pathria
Дата:
Сообщение: Shared data dir for multiple postgresql nodes
Следующее
От: Vijaykumar Jain
Дата:
Сообщение: Re: [External] Shared data dir for multiple postgresql nodes