From: Greg Sabino Mullane Date: Sat, 9 Nov 2013 19:31:24 +0000 (-0500) Subject: On FK warnings, show the contraint name, otherwise we often have duplicated we cannot... X-Git-Tag: 4.99.9~9 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=021dc62f9f64b9ed9db4ac94f871b942c6fdd50c;p=bucardo.git On FK warnings, show the contraint name, otherwise we often have duplicated we cannot distinguish. --- diff --git a/Bucardo.pm b/Bucardo.pm index 3a923125d..5bdc94156 100644 --- a/Bucardo.pm +++ b/Bucardo.pm @@ -6426,14 +6426,14 @@ sub validate_sync { ## The referenced table is not being tracked in this sync if (! exists $s->{tableoid}{$oid2}) { ## Nothing to do except report this problem and move on - $self->glog("Table $t1 references $t2, which is not part of this sync!", LOG_NORMAL); + $self->glog("Table $t1 references $t2($conname), which is not part of this sync!", LOG_NORMAL); next; } ## A table referencing us is not being tracked in this sync if (! exists $s->{tableoid}{$oid1}) { ## Nothing to do except report this problem and move on - $self->glog("Table $t2 is referenced by $t1, which is not part of this sync!", LOG_NORMAL); + $self->glog("Table $t2 is referenced by $t1($conname), which is not part of this sync!", LOG_NORMAL); next; }