Shared data dir for multiple postgresql nodes

From: Prince Pathria <prince(dot)pathria(at)goevive(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Shared data dir for multiple postgresql nodes
Date: 2018-12-20 08:41:25
Message-ID: CAON0Dazt3VJkBd6HUfrim4Dab7a6KAx8CMq+fLxAVp9jx3=TFQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Happy to help :)
Prince Pathria Systems Architect Intern Evive +91 9478670472 goevive.com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2018-12-20 09:05:41 Re: Shared data dir for multiple postgresql nodes
Previous Message Prince Pathria 2018-12-20 06:51:41 Re: Multi master implementation