From 1664054c9982f15d35da9ea7994a477c9373bd08 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Sun, 16 Jul 2006 15:21:34 +0000 Subject: [PATCH] Fixes for bug 6703, by Robert Treat. --- includes/DatabasePostgres.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"; -- 2.20.1