--- On Wed, 10/27/10, Vick Khera <vivek@khera.org> wrote:
From: Vick Khera <vivek@khera.org> Subject: Re: [GENERAL] How to merge data from two separate databases into one (maybe using xlogs)? To: "pgsql-general" <pgsql-general@postgresql.org> Date: Wednesday, October 27, 2010, 8:26 PM
On Wed, Oct 27, 2010 at 9:58 AM, <Daniel.Crespo@l-3com.com> wrote: > So, the question would be: How can I do to merge data from DB0 and DB1 and > make it available in the new master, whichever is chosen? Any ideas?
Perhaps investigate bucardo for replication, as it is supposed to be able to help in situations like this. I think you will have to write some policy so it knows how to resolve conflicting updates unless you don't care which one wins.