Re: Streaming replication and empty databases

Поиск
Список
Период
Сортировка
От François Beausoleil
Тема Re: Streaming replication and empty databases
Дата
Msg-id 17FC405D-207F-4EEF-A9AC-988B0C5D5E47@teksol.info
обсуждение исходный текст
Ответ на Streaming replication and empty databases  (Svoop <svoop@delirium.ch>)
Список pgsql-general
Le 2012-03-23 à 09:28, Svoop <svoop@delirium.ch> a écrit :

> However, can I use the app_staging database on the staging server independently? [...]
>
> Plan B is a second pg instance on the staging server, but I'd like to know if
> the above setup might work as well.

PostgreSQL disallows writes on slaves. Like you, I arrived at the 2nd cluster / instance running on the slave. I dump
thedatabase using pg_dump and reload in my second instance. Works great. 

Hope that helps!
François

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Is record handle available to a check constraint stored procedure call?
Следующее
От: David Johnston
Дата:
Сообщение: Re: can these queries be combined into one?