From: Greg Sabino Mullane Date: Sun, 16 Jul 2006 15:21:34 +0000 (+0000) Subject: Fixes for bug 6703, by Robert Treat. X-Git-Tag: 1.31.0-rc.0~56211 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=1664054c9982f15d35da9ea7994a477c9373bd08;p=lhc%2Fweb%2Fwiklou.git Fixes for bug 6703, by Robert Treat. --- diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index ad2ecb8473..f9c1def569 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -182,10 +182,9 @@ class DatabasePostgres extends Database { ## Do we have plpgsql installed? print "
  • Checking for plpgsql ..."; $SQL = "SELECT 1 FROM pg_catalog.pg_language WHERE lanname = 'plpgsql'"; - $res = $this->doQuery($SQL); $rows = $this->numRows($this->doQuery($SQL)); if ($rows < 1) { - print "FAILED. Make sure the language plpgsql is installed for the database $wgDBnamet
  • "; + print "FAILED. Make sure the language plpgsql is installed for the database $wgDBname"; dieout(""); } print "OK\n";