Search Postgresql Archives

Re: Streaming replication and empty databases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 2012-03-23 à 09:28, Svoop <svoop@xxxxxxxxxxx> 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 the database using pg_dump and reload in my second instance. Works great.

Hope that helps!
François
-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux