summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2012-05-21 20:12:16 +0000
committerGreg Sabino Mullane2012-05-21 20:12:16 +0000
commit3a078ad7bafa2bacaecd34461e3dbe4f752861d4 (patch)
treeeb20d1158e9ec7d3ba33472e85e08e85ecc5ded1 /check_postgres.pl
parentd4e676ee4b6f6cde9aa0cc208a74330d5f27bf4f (diff)
Spelling fixes
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 9b3a600ee..63d242e34 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1343,7 +1343,7 @@ if (exists $opt{PSQL}) {
-e $PSQL or ndie msg('opt-psql-noexist', $PSQL);
}
else {
- my $psql = (defined $PGBINDIR) ? "$PGBINDIR/psql" : "psql";
+ my $psql = (defined $PGBINDIR) ? "$PGBINDIR/psql" : 'psql';
chomp($PSQL = qx{which "$psql"});
$PSQL or ndie msg('opt-psql-nofind');
}
@@ -3185,7 +3185,7 @@ sub open_controldata {
$pgc = "$ENV{PGCONTROLDATA}";
}
else {
- $pgc = (defined $PGBINDIR) ? "$PGBINDIR/pg_controldata" : "pg_controldata";
+ $pgc = (defined $PGBINDIR) ? "$PGBINDIR/pg_controldata" : 'pg_controldata';
chomp($pgc = qx{which "$pgc"});
}
-x $pgc or ndie msg('opt-psql-noexec', $pgc);
@@ -8143,7 +8143,7 @@ one version of the PostgreSQL executables on your system, or if there are not
in your path. Note that this option is in all uppercase. By default, this option
is I<not allowed>. To enable it, you must change the C<$NO_PSQL_OPTION> near the
top of the script to 0. Avoid using this option if you can, and instead use
-environement variable c<PGBINDIR> or hard-coded C<$PGBINDIR> variable, also near
+environment variable c<PGBINDIR> or hard-coded C<$PGBINDIR> variable, also near
the top of the script, to set the path to the PostgreSQL to use.
=item B<--PSQL=PATH>
@@ -9715,6 +9715,8 @@ Items not specifically attributed are by GSM (Greg Sabino Mullane).
Allow txn_idle to work again for < 8.3 servers by switching to query_time.
+ Cache sequence information to speed up same_schema runs.
+
=item B<Version 2.19.0> January 17, 2012
Add the --assume-prod option (Cédric Villemain)