What are you using for replication?
I set up a master-master asynchronous replication of one database with bucardo 4.4.5 and testing right now 4.99.3.
I know the standard settings when a conflict between same id rows comes up :
source - the rows on the "source" database always "win" (in a conflict, we copy rows from source to target)
target - the rows on the "target" database always win
skip - any conflicted rows are simply not replicated. Not recommended
for most cases.
random - each database has an equal chance of winning each time
latest - the row that was most recently changed wins
abort - the sync is aborted on a conflict You can also provide custom
conflict handlers to allow you to use business logic for better conflict
I have not found info or examples about the custom option yet, and still on the search ...
On 04/02/2012 11:57 AM, Kevin Grittner wrote:
> amador alvarez<aalvarez(at)d2(dot)com> wrote:
>> I am trying to find any kind of information or examples to deal
>> with custom conflict resolution on swap syncs in a master-master
> What are you using for replication?
In response to
pgsql-admin by date
|Next:||From: superman0920||Date: 2012-04-04 05:59:30|
|Subject: about multiprocessingmassdata|
|Previous:||From: Kevin Grittner||Date: 2012-04-02 18:57:42|
|Subject: Re: custom conflict resolution information request|