From c4e48e31afd4d95e0f06a2ed0d89bb7a1355d5cd Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 22 Apr 2010 09:48:31 -0400 Subject: [PATCH] Show which table constraint is on when definitions differ. --- check_postgres.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_postgres.pl b/check_postgres.pl index 105868962..9d4030f3b 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -6177,7 +6177,7 @@ JOIN pg_namespace n ON (n.oid = pronamespace) for my $row (@{$fail{colconstraints}{defdiff}}) { my ($name,$t1,$c1,$d1,$t2,$c2,$d2) = @$row; if (! exists $doublec{$name}) { - $db->{perf} .= qq{ Constraint "$name" on 1 differs from 2 ("$d1" vs. "$d2") }; + $db->{perf} .= qq{ Constraint "$name" (on $t1) on 1 differs from 2 ("$d1" vs. "$d2") }; } else { $failcount--; -- 2.39.5