diff options
author | Greg Sabino Mullane | 2010-04-22 13:48:31 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-04-22 13:48:31 +0000 |
commit | c4e48e31afd4d95e0f06a2ed0d89bb7a1355d5cd (patch) | |
tree | c8c3e9a5df8336351ac1ae3c9ce1db9b62d5f6be /check_postgres.pl | |
parent | 0dea4e16555403c795dfb93012a4f1ad5fbe6159 (diff) |
Show which table constraint is on when definitions differ.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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--; |