summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2011-07-12 14:38:01 +0000
committerGreg Sabino Mullane2011-07-12 14:38:01 +0000
commit133a79e703844ffb10f21372342222c1ae427ae6 (patch)
tree8603f97f565197b6270f1ead79593f9003e1cee6 /check_postgres.pl
parent21f086d74f84e62521883e943734e45e81b1b6d6 (diff)
Don't tell us about the sequence number changing over time!
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 390de9cfe..553ceda68 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -6279,6 +6279,14 @@ sub check_same_schema {
next;
}
+ ## If we are doing a historical comparison, skip some items
+ if ($samedb) {
+ if ($item eq 'sequence'
+ and $col eq 'last_value') {
+ next;
+ }
+ }
+
push @msg => sprintf " %s\n", msg('ss-different', $col);
for my $db (sort keys %{ $tdiff->{coldiff}{$col} }) {
push @msg => sprintf " %s %s: %s\n",