| From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
|---|---|
| To: | Prince Pathria <prince(dot)pathria(at)goevive(dot)com> |
| Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Shared data dir for multiple postgresql nodes |
| Date: | 2018-12-20 09:05:41 |
| Message-ID: | CAECtzeXu41tt_g1XgbFQoNdpWx2gCV-T-APw39Fs-sMOzH-uUw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Le jeu. 20 déc. 2018 à 09:41, Prince Pathria <prince(dot)pathria(at)goevive(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vijaykumar Jain | 2018-12-20 09:08:21 | Re: [External] Shared data dir for multiple postgresql nodes |
| Previous Message | Prince Pathria | 2018-12-20 08:41:25 | Shared data dir for multiple postgresql nodes |