synchronize DTAP - Mailing list pgsql-general

From Willy-Bas Loos
Subject synchronize DTAP
Date
Msg-id CAHnozTgxuV6vu0kN18HFJZKxEAY8orGHUwK9ebYfbU0Rs2xhVg@mail.gmail.com
Whole thread Raw
Responses Re: synchronize DTAP  (Brent Wood <Brent.Wood@niwa.co.nz>)
List pgsql-general
Hi,

We have an environment that has a central repository for lookups, which is replicated to several databases, ech for different applications.
This has been arranged in a DTAP manner.

Sometimes it is necessary to synchronize the lookups of one of the DTAP branches with another. But i can't just overwrite one database with a dump from another branch, as the consumer databases will not follow.
What i think i need is a way to compute the differences between two databases that have the same schema, and generate insert/update/delete statements from that.

Since this seems as a pretty generic problem, i thought that i should ask around before i start writing my own scripts. Does anyone know of script or application that does this?

Cheers
--
Willy-Bas Loos

pgsql-general by date:

Previous
From: Jonathan Vanasco
Date:
Subject: Re: Postgres as key/value store
Next
From: Andres Freund
Date:
Subject: Re: BDR Global Sequences