summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-10-14 12:24:00 +0000
committerGreg Sabino Mullane2009-10-14 12:24:00 +0000
commit51cb49e066535bbccf62b80863837a80d5190e52 (patch)
tree7f2a2d58c556f479f95ede774967b45c4584d493 /check_postgres.pl
parentbc2a5a49cf691ff68900a04e47882206eb0db23f (diff)
Fix so old versions of Postgres (< 8.0) use the correct default database (Giles Westwood)
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 063cdc50e..994090cd1 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -993,7 +993,7 @@ $psql_revision =~ s/\D//g;
$VERBOSE >= 2 and warn qq{psql=$PSQL version=$psql_version\n};
-$opt{defaultdb} = $psql_version >= 7.4 ? 'postgres' : 'template1';
+$opt{defaultdb} = $psql_version >= 8.0 ? 'postgres' : 'template1';
sub add_response {
my ($type,$msg) = @_;
@@ -7898,6 +7898,7 @@ Items not specifically attributed are by Greg Sabino Mullane.
=item B<Version 2.12.1>
+ Fix so old versions of Postgres (< 8.0) use the correct default database (Giles Westwood)
For "same_schema" trigger mismatches, show the attached table.
=item B<Version 2.12.0>