[Bucardo-general] Abort on constraint violations
Greg Sabino Mullane
greg at endpoint.com
Mon Apr 8 15:19:51 UTC 2013
> Alex Balashov wrote:
> So, the question is, is there some way I can configure Bucardo to
> just skip over these problems instead of dying?
No - because the problem would still occur the next time the
sync ran, and we can't selectively skip rows or we lost all
pretense at consistency.
As Josh pointed out, you need a customcode. Specifically, you
want an exception handler that will look for the specific
error message, fix the problem somehow, and then tell Bucardo
to retry the sync.
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 163 bytes
Desc: Digital signature
More information about the Bucardo-general