X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdb%2FDatabasePostgres.php;h=af5f30c95c3389c3dcab550af02ee6457c03db99;hb=ee2b60ca604d1e5c5710a0bd9d0342c278bc09e0;hp=5ea87e932403510e7db82ba8685eae6361bd5a5f;hpb=df0793dc593e42861f657e337c1b0c8865b288ef;p=lhc%2Fweb%2Fwiklou.git
diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php
index 5ea87e9324..af5f30c95c 100644
--- a/includes/db/DatabasePostgres.php
+++ b/includes/db/DatabasePostgres.php
@@ -1,10 +1,11 @@
Checking for Pl/Pgsql ...";
+ print "
Checking for PL/pgSQL ...";
$SQL = "SELECT 1 FROM pg_catalog.pg_language WHERE lanname = 'plpgsql'";
$rows = $this->numRows($this->doQuery($SQL));
if ($rows < 1) {
// plpgsql is not installed, but if we have a pg_pltemplate table, we should be able to create it
- print "not installed. Attempting to install Pl/Pgsql ...";
+ print "not installed. Attempting to install PL/pgSQL ...";
$SQL = "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON (n.oid = c.relnamespace) ".
"WHERE relname = 'pg_pltemplate' AND nspname='pg_catalog'";
$rows = $this->numRows($this->doQuery($SQL));
@@ -571,13 +572,13 @@ class DatabasePostgres extends DatabaseBase {
$result = $this->doQuery("CREATE LANGUAGE plpgsql");
error_reporting($olde);
if (!$result) {
- print "FAILED. You need to install the language plpgsql in the database " .
+ print "FAILED. You need to install the language PL/pgSQL in the database " .
htmlspecialchars( $wgDBname ) . "";
dieout("");
}
}
else {
- print "FAILED. You need to install the language plpgsql in the database " .
+ print "FAILED. You need to install the language PL/pgSQL in the database " .
htmlspecialchars( $wgDBname ) . "";
dieout("");
}