Sharing data directories between machines

Поиск
Список
Период
Сортировка
От JD Wong
Тема Sharing data directories between machines
Дата
Msg-id CAGuHHn8k4K87C9DPt1=ViXUWp2zQVguHM2mspcNeW8OM9Tvoxg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Sharing data directories between machines  (Davide Setti <davide.setti@gmail.com>)
Re: Sharing data directories between machines  (Steve Atkins <steve@blighty.com>)
Re: Sharing data directories between machines  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
Hi all!

I have two servers, which share a large mounted drive.  I would like to share postgres databases between them dynamically so that when one makes changes, they are immediately available in the other.  

I tried moving the data directory over to the mounted drive, and pointing both postgresql.confs to that one.  I was able to have both access the same databases, but they can't share changes.  It's like they're running on two separate data directories, even though show data_directory reports the same path for each.

How can I make them play nicely?

Thanks!
-JD 

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

Предыдущее
От: Davide Setti
Дата:
Сообщение: Speedup filtering on citext[] columns
Следующее
От: Davide Setti
Дата:
Сообщение: Re: Sharing data directories between machines