From e5be34e9e5fc9b196b53cf80497cdbf2b3acf395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Villemain?= Date: Sun, 22 Jan 2012 23:51:12 +0100 Subject: [PATCH] Fix the createlang during init There was a copy-n-paste error, only affecting < 8.1 . --- t/CP_Testing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5