summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Villemain2012-01-22 22:51:12 +0000
committerCédric Villemain2012-01-22 23:54:50 +0000
commite5be34e9e5fc9b196b53cf80497cdbf2b3acf395 (patch)
tree17c55c10a2d6fcc3c85926c4d1d6a181d4d49cee
parent4c401b4c06ced57a3a13d8c17bf337569d21869c (diff)
Fix the createlang during init
There was a copy-n-paste error, only affecting < 8.1 .
-rw-r--r--t/CP_Testing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/CP_Testing.pm b/t/CP_Testing.pm
index 6279322f0..f7d58d189 100644
--- a/t/CP_Testing.pm
+++ b/t/CP_Testing.pm
@@ -249,7 +249,7 @@ sub test_database_handle {
$SQL = qq{SELECT * FROM pg_language WHERE lanname = '$lang'};
$res = qx{psql -Ax -qt -d postgres -q -h "$host" -c "$SQL"};
if ($res !~ /$lang/) {
- my $createlang = $ENV{PGBINDIR} ? "$ENV{PGBINDIR}/createlang" : 'pg_ctl';
+ my $createlang = $ENV{PGBINDIR} ? "$ENV{PGBINDIR}/createlang" : 'createlang';
$COM = qq{$createlang -d postgres -h "$host" $lang};
system $COM;
}