Re: Shared data dir for multiple postgresql nodes - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: Shared data dir for multiple postgresql nodes
Date
Msg-id CAECtzeXu41tt_g1XgbFQoNdpWx2gCV-T-APw39Fs-sMOzH-uUw@mail.gmail.com
Whole thread Raw
In response to Shared data dir for multiple postgresql nodes  (Prince Pathria <prince.pathria@goevive.com>)
List 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 by date:

Previous
From: Prince Pathria
Date:
Subject: Shared data dir for multiple postgresql nodes
Next
From: Vijaykumar Jain
Date:
Subject: Re: [External] Shared data dir for multiple postgresql nodes