From 3a078ad7bafa2bacaecd34461e3dbe4f752861d4 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 21 May 2012 16:12:16 -0400 Subject: Spelling fixes --- check_postgres.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'check_postgres.pl') 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. 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 or hard-coded C<$PGBINDIR> variable, also near +environment variable c 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 January 17, 2012 Add the --assume-prod option (Cédric Villemain) -- cgit v1.2.3