projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dea4e1
)
Show which table constraint is on when definitions differ.
author
Greg Sabino Mullane
<greg@endpoint.com>
Thu, 22 Apr 2010 13:48:31 +0000
(09:48 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Thu, 22 Apr 2010 13:48:31 +0000
(09:48 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 1058689628d475e7895032ef3c556c0862b2f6e8..9d4030f3b2b70abc106ac8a063bbed667a0b0e51 100755
(executable)
--- 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--;