Re: Streaming replication and empty databases - Mailing list pgsql-general

From François Beausoleil
Subject Re: Streaming replication and empty databases
Date
Msg-id 17FC405D-207F-4EEF-A9AC-988B0C5D5E47@teksol.info
Whole thread Raw
In response to Streaming replication and empty databases  (Svoop <svoop@delirium.ch>)
List 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 by date:

Previous
From: Jasen Betts
Date:
Subject: Re: Is record handle available to a check constraint stored procedure call?
Next
From: David Johnston
Date:
Subject: Re: can these queries be combined into one?