From: Greg Sabino Mullane Date: Wed, 4 Aug 2010 11:58:35 +0000 (+0000) Subject: Correct casing for PL/pgSQL X-Git-Tag: 1.31.0-rc.0~35730 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=ee2b60ca604d1e5c5710a0bd9d0342c278bc09e0;p=lhc%2Fweb%2Fwiklou.git Correct casing for PL/pgSQL --- diff --git a/includes/db/DatabasePostgres.php b/includes/db/DatabasePostgres.php index 53a439fdba..af5f30c95c 100644 --- a/includes/db/DatabasePostgres.php +++ b/includes/db/DatabasePostgres.php @@ -556,12 +556,12 @@ class DatabasePostgres extends DatabaseBase { function setup_plpgsql() { - print "
  • 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)); @@ -572,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(""); }