Remove the check on conflict handling for sequences for now.
authorGreg Sabino Mullane <greg@endpoint.com>
Sun, 22 Aug 2010 03:08:59 +0000 (23:08 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Sun, 22 Aug 2010 03:08:59 +0000 (23:08 -0400)
Bucardo.pm

index d27a9c87cf8d15823c3458c6e9bdb91fa1b63466..b63ef7019bb36725ab40061b2d659718ea6e947b 100644 (file)
@@ -1876,7 +1876,8 @@ sub start_mcp {
             } ## end standard conflict
 
             ## Swap syncs must have some way of resolving conflicts
-            if ($s->{synctype} eq 'swap' and !$g->{standard_conflict} and !exists $g->{code_conflict}) {
+            if ($s->{synctype} eq 'swap' and !$g->{standard_conflict} and !exists $g->{code_conflict}
+                    and $g->{reltype} eq 'table') {
                 $self->glog(qq{Warning! Tables used in swaps must specify a conflict handler. $g->{schemaname}.$g->{tablename} appears to have neither standard or custom handler.}, LOG_WARN);
                 return 0;
             }